Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hello,
I am having an issue and I would like to create a formula to calculate an anomaly rate. It's quite simple, I need to calculate the number of anomalous rounds divided by the total number of rounds. However, I have a filter on my page (as you can see on the picture) that only takes these rounds into account so that we can analyze their cause.
Here is the formula I am proposing that is resulting in an error:
=DIVIDE(CALCULATE(COUNTROWS(UO),UO[16. Densité de remplissage]="Densité anormalement faible"),ALL(UO[Date service véhic.])
You may try:
=DIVIDE(CALCULATE(COUNTROWS(UO),UO[16. Densité de remplissage]="Densité anormalement faible"), CALCULATE(COUNTROWS(UO),Removefilters())
Thank you for your help. The formula is not working. Indeed, the formula always takes into account the filter on the page. As we can see here, it shows that 100% of the files are anomalies, which is normal since the filter that applies intentionally focuses only on this type of file. However, I would like the formula to ignore this filter and calculate over the entire table.
Please try the following:
=DIVIDE(CALCULATE(COUNTROWS(UO),UO[16. Densité de remplissage]="Densité anormalement faible"), CALCULATE(COUNTROWS(UO),ALL(UO[Date service véhic.]))
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
87 | |
81 | |
53 | |
38 | |
35 |