Trying to find the ratio of male to female for each religion

0 votes

Trying to find the ratio of male to female for each religion

Mar 14 in Tableau by Sindhu
41 views

1 answer to this question.

0 votes
Hi,

You can find the man to women ratio by creating a calculative field and write code as

DIV([Man],[Women])     OR    [Man] / [Women]  , here [Man] and [Women] are the fields.

 Religion    |      Ratio

----------------------------------

  hindu       |     2.034897

 Muslim     |      1.32176

Put the religion on row shelf and the ratio on column shelf then, the ration will be seen for each religion. (like above)

Hope this helps you.
answered Mar 14 by Cherukuri
• 17,870 points

Related Questions In Tableau

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
106 views
0 votes
1 answer

Is it possible to apply filter just to one of the measures

Hey @Ghost, Why don't you use Level of Detail ...READ MORE

answered Apr 17, 2018 in Tableau by Atul
• 10,240 points
25 views
0 votes
1 answer
0 votes
1 answer

Return last day of each moth in the calendar

Try this way: Place the order date in ...READ MORE

answered Apr 20, 2018 in Tableau by QueenBee
• 1,810 points
17 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
1,339 views
+1 vote
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
50 views
+2 votes
1 answer
0 votes
1 answer

How to show % of the total to each bar in bar graph?

Hi Manu, It is a simple procedure, Follow ...READ MORE

answered Apr 22 in Tableau by Cherukuri
• 17,870 points
36 views
0 votes
1 answer

How to find first n months profit/sales for a given year

Hi Sindhu, You can use Calculated field to ...READ MORE

answered Mar 8 in Tableau by Cherukuri
• 17,870 points
21 views