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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi all,
I'm a newbie at DAX looking for some help. I have two simple tables: one dimension (Product/Cluster) and one fact (Product/Revenue/Profit). I've created a relationship between the product columns in both tables.

In the pivot you may be able to see that I'm aggregating by "Cluster." I want to create a measure that will flag rows in the pivot with zero revenue. For some reason using an "if" statement seems to unravel the relationship between product and cluster:

Is there a way that I can do this using DAX without impacting the relationship? Many thanks and I appreciate any help I can get!!
Solved! Go to Solution.
Hi,
I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.
Hi,
I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 12 | |
| 9 | |
| 9 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 27 | |
| 22 | |
| 20 | |
| 18 | |
| 12 |