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.
Hi guys,
i am having a small calculation issue for the percentage on grand total values.
I have a table where one "category" is blank as you can see on the left table. I have created a measure which should give me percentage on the total value. issue is that once i am removing blank from category by using filter it is still showing the same result. I was expecting the result for value1 = 12/42 = 28,57% in the table on the right but it is still doing 12/52 = 23,08%.
my measure is this :-
Solved! Go to Solution.
@TaroGulati , Try allselected in place of all and check
measure = DIVIDE(SUM(Sheet1[Value]),CALCULATE(SUM(Sheet1[Value]),allselected (Sheet1[Category])))
@TaroGulati , Try allselected in place of all and check
measure = DIVIDE(SUM(Sheet1[Value]),CALCULATE(SUM(Sheet1[Value]),allselected (Sheet1[Category])))
Yes, now it is working. thanks.
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 |
---|---|
110 | |
99 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
110 | |
91 | |
84 | |
66 |