Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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,
User | Count |
---|---|
101 | |
90 | |
78 | |
70 | |
69 |
User | Count |
---|---|
110 | |
96 | |
95 | |
74 | |
71 |