Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I need help for a really simple calcul but I don't find the answer... I tried many things.
I create a measure for DISTINCTCOUNT a value. And with this, I need to include the distinct count (with filter) and the total.
For example :
My measure "compte CC" =
Hi,
you can try this to make the division:
VAR varCompteCC_all_Site =
CALCULATE(
[Complet CC],
ALLSELECTED(Site)
)
RETURN
DIVIDE([Compte CC], varCompetCC_all_Site)
,
this CALCULATE with ALLSELECTED will ignore the context of the Site column and will return the total (69) for all Sites.
Hi,
Thanks for your answer !
It doesn't works, I think it takes the same result of [Compte CC]. So the result is 1 (69/69 or 6/6...)
Finally I do it with Excel... Thank you
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
100 | |
81 | |
70 | |
62 |
User | Count |
---|---|
148 | |
116 | |
104 | |
90 | |
65 |