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
39 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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
• 13,940 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,200 points
77 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,200 points
17 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
15 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,200 points
945 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,200 points
36 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
• 13,940 points
32 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
• 13,940 points
11 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.