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
GeekAlfPro
Helper V
Helper V

Strange Result of a measure

Hello,

 

i'm facing a strange result of a measure

I want to calculate the disponibility of a vehicle.

For that i code the following measure

Disponibilité véhicule = 
CALCULATE(
    COUNT('Disponibilité'[Dispo Qualifiée]),
    FILTER('Disponibilité', 'Disponibilité'[Dispo Qualifiée] = "Exploitation"))

But the result is strange, because it displays 45, 

 

GeekAlfPro_1-1648629611573.png

 

despiste i only have 22 days with the filters...

 

GeekAlfPro_0-1648629438563.png

 

2 REPLIES 2
GeekAlfPro
Helper V
Helper V

Hello @Anonymous ,

 

yes with the same result.

i noticed another oddity.

i have 2 segments

one with a range of dates, the other with the months

GeekAlfPro_0-1648632805778.png

the measure is OK when i select the date AND the month, but not if i only select the range of dates

 

Anonymous
Not applicable

Hi @GeekAlfPro 
have you tried COUNTROWS() instead of COUNT()?

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.