Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi,everyone!
I have a matrix as below, I would like to calculate the percentage of the total Dim quantity that is RFT% greater than 98%. In this matrix ,there is 5 Dims' RFT%>98%, so is 5/12=42%. And RFT% is a measure, how to write the DAX,thanks!!!
@CatherineWang , Try a measure like
divide(countx(filter(Values(Table[Dim]) , [RFT%] >.98 ), [Dim]) , countrows(Values(Table[Dim]) ) )
Sorry, [RFT%] is a measure, maybe couldn't be used in "filter".
User | Count |
---|---|
93 | |
85 | |
76 | |
66 | |
62 |
User | Count |
---|---|
110 | |
96 | |
95 | |
64 | |
57 |