Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have the following tables:
I've calculated a new measure with CALCULATE:
Measure Travel = Calculate(Ticket Scans, Ticket Group = A)+Calculate(Ticket Sales, Ticket Group = B)
(Answer total= 1000, where A contributes 300, and B 700).
If I try to show the measure on the bar chart and use the product group dimension as a lable, I get the same height bars (1000 for both Group A and Group B). Same for the table visual - all group types, including the total, show 1000.
Visual Example: the first table shows the above calculated measure where Legend uses the Ticket Group dimension. As you see, it shows same value for both (Type A & B). While I need a result as per second bar chart.
Simplified table visual example:
I would expect that the calculated measure splits correctly by contributing dimension values. Is there a better formula to use than CALCULATE.
Thank You,
Dovi
Solved! Go to Solution.
OK - I got it know. Had to use FILTER function, not the CALCULATE one, due to filter context.
🙂
Tough to follow. Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
OK - I got it know. Had to use FILTER function, not the CALCULATE one, due to filter context.
🙂
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
117 | |
104 | |
77 | |
73 | |
50 |
User | Count |
---|---|
145 | |
109 | |
108 | |
90 | |
64 |