Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi
I created a measure to return a percentage of total fees billed by sub-category in my report
Solved! Go to Solution.
I figured it out, I needed to divide by 100 and then format to percentage in measure tools, see below
Percentage = DIVIDE(CALCULATE(SUM('Query 1' [Fees]), ALLSELECTED('Query 1'[Sub Category])),CALCULATE(SUM('Query 1'[Fees])))/100
I figured it out, I needed to divide by 100 and then format to percentage in measure tools, see below
Percentage = DIVIDE(CALCULATE(SUM('Query 1' [Fees]), ALLSELECTED('Query 1'[Sub Category])),CALCULATE(SUM('Query 1'[Fees])))/100
Hi @AJA21
you can do this by create this measure
Percentage =
VAR TotalFees = CALCULATE(SUM('Query 1'[Fees]))
VAR SubCategoryFees = CALCULATE(SUM('Query 1'[Fees]), ALLSELECTED('Query 1'[Sub Category]))
RETURN
FORMAT(DIVIDE(SubCategoryFees, TotalFees) * 100, "0.00%")
Did I answer your question? if not please more details about data and problem statment
Mark my post as a solution! Appreciate your Kudos!!
Check for more intersing solution here: https://www.youtube.com/@letssolveproblem
Regards
The data is a set of dollar amounts, formatted as currency, I have multiple Query's in this report but this formula is only referencing one of those Query's, I haven't had any problems with other visualisations or summarisations of this data so I don't think it's an underlying issue with the data set.
I'm not sure what else is useful to know. Let me know if there is other information that would help.
Thanks
Hi,
No unfortunately, using the same example above, this came back as 61823.65%.
Cheers
User | Count |
---|---|
84 | |
80 | |
72 | |
71 | |
55 |
User | Count |
---|---|
108 | |
106 | |
93 | |
85 | |
67 |