Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It 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
User | Count |
---|---|
97 | |
87 | |
78 | |
74 | |
70 |
User | Count |
---|---|
113 | |
105 | |
84 | |
65 | |
64 |