Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. 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!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 43 | |
| 39 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 63 | |
| 32 | |
| 30 | |
| 23 |