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.
Hello teams,
I'd like to solve this problem. At belove, an example of my data:
The column CUT_OFF is calculated that: if(KPI_1>5;1;0).
Now my desire is to calculate the percentage value of how many suppliers exceed the threshold compared to the total considering only the separate suppliers. In this case it is equivalent to 3/4 = 66.6%
Solved! Go to Solution.
Hi @Anonymous,
New below measure.
% = CALCULATE ( DISTINCTCOUNT ( Test1[SUPPLIER] ), FILTER ( ALLEXCEPT ( Test1, Test1[YEAR] ), Test1[CUT_OFF] = 1 ) ) / CALCULATE ( DISTINCTCOUNT ( Test1[SUPPLIER] ), ALLEXCEPT ( Test1, Test1[YEAR] ) )
Best regards,
Yuliana Gu
Hi @Anonymous,
New below measure.
% = CALCULATE ( DISTINCTCOUNT ( Test1[SUPPLIER] ), FILTER ( ALLEXCEPT ( Test1, Test1[YEAR] ), Test1[CUT_OFF] = 1 ) ) / CALCULATE ( DISTINCTCOUNT ( Test1[SUPPLIER] ), ALLEXCEPT ( Test1, Test1[YEAR] ) )
Best regards,
Yuliana Gu
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 |
---|---|
111 | |
94 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |