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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount 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,