Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Elie_HUCHET
Helper III
Helper III

formula issue - remove filter on page

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.])

 

Elie_HUCHET_0-1677837019009.png

 

3 REPLIES 3
Padycosmos
Solution Sage
Solution Sage

You may try:

=DIVIDE(CALCULATE(COUNTROWS(UO),UO[16. Densité de remplissage]="Densité anormalement faible"), CALCULATE(COUNTROWS(UO),Removefilters())

Elie_HUCHET
Helper III
Helper III

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.

 

Elie_HUCHET_0-1677841911764.png

 

Padycosmos
Solution Sage
Solution Sage

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.]))

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors