Forum Discussion
Anonymous
5 years agoNot applicable
Cluster Column Chart Not calculating percent of string variable by x-axis correctly
Hello, I searched this forum, but I could not find anything that solved my issue. I have a matrix table with the count of two different categories by year. If I add my value and show as "pecent ...
- Anonymous5 years ago
I figured it out.
The measure I needed was:
Measure = DIVIDE(
COUNT(DISP_HISTORY[CD Count]),CALCULATE(COUNT(DISP_HISTORY[CD Count]), AllSelected (DISP_HISTORY[CD Count)))
Fowmy
Super User
5 years agoAnonymous
Try one of the following meassures:
Measure =
DIVIDE(
COUNT(DISP_HISTORY[CD Count]),
CALCULATE(
COUNT(DISP_HISTORY[CD Count]),
ALLSELECTED(DISP_HISTORY[Start of Week])
)
)Measure =
DIVIDE(
COUNT(DISP_HISTORY[CD Count]),
CALCULATE(
COUNT(DISP_HISTORY[CD Count]),
ALLSELECTED(DISP_HISTORY[Year])
)
)________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply š
- Anonymous5 years agoNot applicable
Thank you. The first measure gives me 100% for all columns.
The second measure gives me the percentage by legand (CD Count) rather than Axis (year)
ā