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.
Hello All,
I am new to Power BI and cannot find a solution to my problem. I am attempting to perform a divide function which is working great right now in a measure, but another requirement to total the resulting records that are >= .80 or 80%. Here is a representation of what I am doing to get the percentage:
TotalOver80%Blah = DIVIDE(CALCULATE ( COUNTROWS ( Table1 ), Table1[FieldName] = "FilterValue1"),CALCULATE ( COUNTROWS ( Table1 ), Table1[FieldName] = "FilterValue1") + CALCULATE ( COUNTROWS ( Table1 ), Table1[FieldName] = "" ) + CALCULATE ( COUNTROWS ( Table1 ), Table1[FieldName] = "FilterValue2") + CALCULATE ( COUNTROWS ( Table1 ), Table1[FieldName] = "FilterValue3" ) + CALCULATE ( COUNTROWS ( Table1 ), Table1[FieldName] = "FilterValue4") + CALCULATE ( COUNTROWS ( Table1 ), Table1[FieldName] = "FilterValue5") + CALCULATE ( COUNTROWS ( Table1 ), Table1[FieldName] = "FilterValue6") + CALCULATE ( COUNTROWS ( Table1 ), Table1[FieldName] = "FilterValue7") + CALCULATE ( COUNTROWS ( Table1 ), Table1[FieldName] = "FilterValue8") + CALCULATE ( COUNTROWS ( Table1 ), Table1[FieldName] = "FilterValue9"))
Thank you for any assistance you can provide.
Solved! Go to Solution.
Hi @jsmith2970 ,
You can try the following dax:
TotalOver80%BlahTotal =
SUMX ( FILTER ( Table1, [TotalOver80%Blah] >= 0.8 ), [TotalOver80%Blah] )
If I have misunderstood your meaning, please provide your pbix file without privacy information and desired output.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @jsmith2970 ,
You can try the following dax:
TotalOver80%BlahTotal =
SUMX ( FILTER ( Table1, [TotalOver80%Blah] >= 0.8 ), [TotalOver80%Blah] )
If I have misunderstood your meaning, please provide your pbix file without privacy information and desired output.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
Check out the May 2024 Power BI update to learn about new features.
User | Count |
---|---|
90 | |
79 | |
61 | |
60 | |
58 |
User | Count |
---|---|
151 | |
113 | |
99 | |
80 | |
72 |