Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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 of column", it gives me the correct percentage. When I add this to a clustered column chart, it does not give me the correct percentage. Please help!
Measure = DIVIDE(
Solved! Go to Solution.
I figured it out.
The measure I needed was:
Measure = DIVIDE(
I figured it out.
The measure I needed was:
Measure = DIVIDE(
@Anonymous
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 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
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)
User | Count |
---|---|
98 | |
91 | |
82 | |
73 | |
67 |
User | Count |
---|---|
115 | |
102 | |
98 | |
71 | |
66 |