Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in BI by (17.6k points)

I'm new with tableau and I try to calculate with different attributes from one dimension and one measure.

enter image description here

I want to calculate the sum of the attributes RC,RD and RP and divide this by RI. I would be very thankfull if you can help me.

1 Answer

0 votes
by (22.5k points)
edited by

Create calculation fields

if [Rrid] = 'RC' or [Rrid] = 'RD' or [Rrid] = 'RP' then [Rrem] end

 And divide the line

sum(calc1) / sum(calc2)

If you want to learn more about it Tableau, then go through this Tableau Training for more insights.  

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Nov 25, 2020 in BI by Chris (11.1k points)
0 votes
1 answer

Browse Categories

...