Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
jkapso751
Helper I
Helper I

DAX measure impacting relationship

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.

 

jkapso751_0-1683589295923.png

 

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:

 

jkapso751_2-1683589548872.png

jkapso751_1-1683589517244.png

 

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!!

 

1 ACCEPTED SOLUTION
Jihwan_Kim
Super User
Super User

Hi,

I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.

 

Jihwan_Kim_1-1683599590914.png

 

Jihwan_Kim_0-1683599565883.png

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

View solution in original post

1 REPLY 1
Jihwan_Kim
Super User
Super User

Hi,

I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.

 

Jihwan_Kim_1-1683599590914.png

 

Jihwan_Kim_0-1683599565883.png

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.