March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
123 | |
86 | |
76 | |
57 | |
52 |
User | Count |
---|---|
201 | |
137 | |
108 | |
73 | |
68 |