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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi All Experts,
Please find below the dataset, measures and the outcome of the distinctcount in the matrix table. I have posted the source file with the link at below. My question is why the 2 measures are giving different outcome in the matrix table given their Dax measure are the same, just that 1st one with Variable created and 2nd one is without the variable. shouldn't the logic or flow be the same for both measure?
Thank you for your kind coaching in advance.
Dataset
Measure 1
Measure 2
Matrix Tables
https://drive.google.com/drive/folders/1vkOBb92F3hLBzh-dBzKNES6TFaWp4oHZ?usp=sharing
Solved! Go to Solution.
@kelvin-lkhca , Please refer to this article from Radacad explaining how variable works.
https://radacad.com/caution-when-using-variables-in-dax-and-power-bi
@kelvin-lkhca , Please refer to this article from Radacad explaining how variable works.
https://radacad.com/caution-when-using-variables-in-dax-and-power-bi
That is a nice post and clear explanation. Thanks a lot!
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 52 | |
| 50 | |
| 34 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 94 | |
| 77 | |
| 41 | |
| 26 | |
| 25 |