how to generate random numbers and row-count in Tableau

0 votes

how to generate pseudo random numbers and row-count in Tableau? 

Mar 13, 2019 in Tableau by Nithin
18,480 views

1 answer to this question.

0 votes

Hi,

You can create random numbers using a function called RANDOM(). Even though the function is not shown within the functions in calculative field.

RANDOM() returns a decimal number from [0 - 1]. This function does not take any arguments/parameters.

To get a integer big number ,you can use one or more random function together and multiply with 10^4 or higher power.

For example.

Create random numbers using calculated field. ( I used 10^5 as multiplication number, you can choose even any number. To avoid duplicates i used 2 random() functions. )

After adding the field to the table .

Hope this helps you.

For an in-depth explanation check out Tableau Training Course details.

answered Mar 13, 2019 by Cherukuri
• 33,030 points

Related Questions In Tableau

0 votes
1 answer

How to count occurrence of value and percentage of a subset in tableau public?

Although it sounds like a fairly easy ...READ MORE

answered Jun 5, 2018 in Tableau by Atul
• 10,240 points
11,779 views
0 votes
1 answer

how to get the count of non zero values in a row

In first part you should solve the ...READ MORE

answered Apr 4, 2018 in Tableau by Atul
• 10,240 points
3,107 views
0 votes
1 answer

How to dynamically determine and categorize duplicate value in Tableau?

Apparently you define a duplicate records as ...READ MORE

answered Apr 13, 2018 in Tableau by xyz
• 1,560 points
7,269 views
0 votes
1 answer

How to merge Year ,Month and date in Order Date in Tableau?

Hi, you can simply drag the Order ...READ MORE

answered Aug 24, 2018 in Tableau by AwesomeSauce
• 860 points
2,743 views
0 votes
1 answer

Hide alternative rows in tableau

Hi Mike, Follow below steps: 1. Select required Dimensions/Measures. 2. ...READ MORE

answered Apr 22, 2019 in Tableau by Cherukuri
• 33,030 points
2,057 views
0 votes
1 answer

How to color code cells of a column based on the text value in Tableau

You can use the following steps to ...READ MORE

answered Mar 27, 2018 in Tableau by Atul
• 10,240 points
9,947 views
+2 votes
1 answer
0 votes
1 answer

Calculated filed with if-then

Below is the required code:  IF (NOT ISNULL([test2])) ...READ MORE

answered Mar 27, 2018 in Tableau by Atul
• 10,240 points
1,622 views
0 votes
1 answer

How to add parameter and calculated field filter in tableau?

Hi Sindhu,  You cannot add parameter as a ...READ MORE

answered Mar 8, 2019 in Tableau by Cherukuri
• 33,030 points
5,135 views
0 votes
1 answer

How to add a story with same sheet with different parameters and filters added in tableau?

Hi Riya, Follow these steps to add sheets/dashboard ...READ MORE

answered Mar 22, 2019 in Tableau by Cherukuri
• 33,030 points
3,606 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP