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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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!!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 133 | |
| 88 | |
| 85 | |
| 68 | |
| 64 |