Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Good afternoon,
I have a table that includes records with a number of actions.
To know the number of files, I choose the number distincitfs.
I create a measure and use the Countrows command : COUNTROWS(distinct('Dossiers Traités/Equipe'[NumeroDossier]))
It works, I have the right number.
Now I would like to add filters of this type: Filter('Dossiers Traités/Equipe' [EquTrait] = "Voture" || 'Dossiers Traités/Equipe'[EquTrait] = "Moto"
But he tells me that there is only one argument. Can you tell me where I am wrong?
Thank you
Solved! Go to Solution.
Try:
Measure = CALCULATE(DISTINCTCOUNT('Dossiers Traités/Equipe'[NumeroDossier]),FILTER('Dossiers Traités/Equipe',
'Dossiers Traités/Equipe' [EquTrait] = "Voture" || 'Dossiers Traités/Equipe'[EquTrait] = "Moto"))
Hi,
Try this once. Hope this helps.
MeasureTest = COUNTROWS(DISTINCT(FILTER('Dossiers Traités/Equipe','Dossiers Traités/Equipe' [EquTrait] = "Voture" || 'Dossiers Traités/Equipe'[EquTrait] = "Moto")))
Try:
Measure = CALCULATE(DISTINCTCOUNT('Dossiers Traités/Equipe'[NumeroDossier]),FILTER('Dossiers Traités/Equipe',
'Dossiers Traités/Equipe' [EquTrait] = "Voture" || 'Dossiers Traités/Equipe'[EquTrait] = "Moto"))
Hello,
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!