Forum Discussion
AGScottThompson
4 years agoFrequent Visitor
Clustered Chart Group Total
How do you calculate a percent based on a group? I am trying to figure out the percentage of each value in a group in a cluster chart. Each Bar should be the percentage relative to the group not the...
- 4 years ago
AGScottThompson try this:
ClientCount = DISTINCTCOUNT('Real Estate Final'[Client]) ALLClientCountInDescription = CALCULATE([ClientCount],REMOVEFILTERS('Real Estate Final'), VALUES('Real Estate Final'[Description])) ClientCountPCT = [ClientCount]/[ALLClientCountInDescription] - 4 years ago
AGScottThompson make sure the Year Column comes from the right table
AGScottThompson
4 years agoFrequent Visitor
That is almost working for me, but I need to add 2 filters in. I tried
ALLClientCountInDescription = CALCULATE([ClientCount],REMOVEFILTERS('Real Estate Final'),VALUES('Year'[Year]) ,VALUES(RealEstate_TIVBandSort[Description]) )
But it does not apppear to be working.
- SpartaBI4 years agoCommunity Champion
AGScottThompson I need more info 🙂
You can PM me to show me on zoom?