Skip to main content
Question

Random Number groupby


boubcher
Contributor
Forum|alt.badge.img+11

Hello there

is there a way we could generate random number grouped by feature type

the actual transformer does not have this option

Thanks

5 replies

nielsgerrits
VIP
Forum|alt.badge.img+54

You can always put the RandomNumberGenerator in a custom transformer and configure it to do group by.


nielsgerrits
VIP
Forum|alt.badge.img+54
nielsgerrits wrote:

You can always put the RandomNumberGenerator in a custom transformer and configure it to do group by.

Added workspace demonstrating this.


boubcher
Contributor
Forum|alt.badge.img+11
  • Author
  • Contributor
  • May 10, 2022

@nielsgerrits​ 

Thanks for your help,

I am no getting the same option as your workspace when I right client on random transformer to convert to custom transformer

image


nielsgerrits
VIP
Forum|alt.badge.img+54
boubcher wrote:

@nielsgerrits​ 

Thanks for your help,

I am no getting the same option as your workspace when I right client on random transformer to convert to custom transformer

image

That is correct, by default there are no Parameters for a Custom Transformer. You have to configure this yourself:

  • Open the contents of the Custom Transformer.
  • In the Navigator, go to Transformer Parameters.
  • Right click on "Group by" and choose "Create User Parameter".
  • Click OK in the "Add/Edit User Parameter" window.

 

This can also be done for Transformer Parameters in the Custom Transformer:

  • Open the Transformers Parameters.
  • Click on the down arrow right of the field or setting.
  • Go to "User Parameter..." and choose "Create User Parameter..."
  • Click OK in the "Add/Edit User Parameter" window.

 

These paramaters are now added to the custom transformer.


boubcher
Contributor
Forum|alt.badge.img+11
  • Author
  • Contributor
  • May 10, 2022
nielsgerrits wrote:

That is correct, by default there are no Parameters for a Custom Transformer. You have to configure this yourself:

  • Open the contents of the Custom Transformer.
  • In the Navigator, go to Transformer Parameters.
  • Right click on "Group by" and choose "Create User Parameter".
  • Click OK in the "Add/Edit User Parameter" window.

 

This can also be done for Transformer Parameters in the Custom Transformer:

  • Open the Transformers Parameters.
  • Click on the down arrow right of the field or setting.
  • Go to "User Parameter..." and choose "Create User Parameter..."
  • Click OK in the "Add/Edit User Parameter" window.

 

These paramaters are now added to the custom transformer.

@nielsgerrits

thanks so much working

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings