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.
Hello everyone,
I am confused with this measure. Can anyone please explain?
Add Numeric Distribution111 measure is showing wrong results. it is not filtering any customers.
but Add Numeric Distribution222 is showing right results. Can anyone please explain the reason behind this? I thought these will show same results.
Add Numeric Distribution111 =
VAR __Customers = DISTINCTCOUNTNOBLANK(Answer[CustomerID])
RETURN
CALCULATE(
DIVIDE(
CALCULATE(__Customers, Answer[Actual]=1),
__Customers
)
, CyclePlan[Month]="Current Month"
)
Add Numeric Distribution222 =
CALCULATE(
DIVIDE(
CALCULATE(DISTINCTCOUNTNOBLANK(Answer[CustomerID]), Answer[Actual]=1),
DISTINCTCOUNTNOBLANK(Answer[CustomerID])
)
, CyclePlan[Month]="Current Month"
)
Solved! Go to Solution.
Hi @Anonymous
Please see this link, you can find the answer there:
https://radacad.com/caution-when-using-variables-in-dax-and-power-bi
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Hi @Anonymous
Please see this link, you can find the answer there:
https://radacad.com/caution-when-using-variables-in-dax-and-power-bi
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
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 |
---|---|
109 | |
96 | |
77 | |
66 | |
53 |
User | Count |
---|---|
144 | |
105 | |
102 | |
89 | |
63 |