Forum Discussion
Dynamic Measure when hovered over Stacked Bar Graph
- 6 years ago
Anonymous try this measure
PCT = DIVIDE ( COUNT('Sheet1'[Guest ID] ), CALCULATE ( COUNT ( Sheet1[Guest ID] ), ALLSELECTED ( Sheet1[Pct Activity Category] ) ))I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!
parry2k Sure, I couldn't attach a screenshot, so I have uploaded it on the drive and shared the link on the Main Post.
Anonymous try this measure
PCT = DIVIDE ( COUNT('Sheet1'[Guest ID] ), CALCULATE ( COUNT ( Sheet1[Guest ID] ), ALLSELECTED ( Sheet1[Pct Activity Category] ) ))
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!
- Anonymous6 years agoNot applicable
parry2k I tried the measure and on hovering over the graph I see the value 1.00. I have also provided more information with example in the main post, I hope it helps.
- parry2k6 years agoSuper User
Anonymous make sure change the format of PCT measure to %
- Anonymous6 years agoNot applicable
parry2k Yes I did and it still gives me the same value(but now in percentage that is 100%) when I hover over the graph. I have attached 2 screenshot with the measure in the link (screen1 and Screen2) for your reference. I hover over 2 categories and seeing the same result(100%).