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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
grum
New Member

Conditional Column from Dim Table

I am new to Power BI and understand I cant use a multi key to build relationships between tables.  The problem I need to solve is as follows.  I hope I have provided enough detail.  

 

I have 2 tables:-

 - Fact_Indicator

 - Dim_Indicator

 - Dim_Indicator_Narrative

 

The Fact_Indicator table has Indicator_ID and the relationship is fine between that and the Dim_Indicator table.  The fact table also has a column called Indicator_Outcome.  The 2 possible outsomes of Indicator_Outcome are 1 (Positive) or 2 (Negative)   

 

grum_0-1668747184430.png

 

What I want to do is the following:-

 

If Fact_Indicator.Indicator_Outcome = 1 display column1 and column2 from  Dim_Indicator Nattative table or

If Fact_Indicator.Indicator_Outcome = 2 display column3 and column4 from  Dim_Indicator Nattative table.

 

Any pointers would be appreciated.

 

Thanks

 

1 ACCEPTED SOLUTION
grum
New Member

Hi Freemanz, I managed to write a merge query actoss varioius tables and displayed the information required in a gris to all resolved.  Thanks 

View solution in original post

3 REPLIES 3
grum
New Member

Hi Freemanz, I managed to write a merge query actoss varioius tables and displayed the information required in a gris to all resolved.  Thanks 

grum
New Member

Hi, the plan is to display the cols in a matrix.  Since posting,  I have progressed by creating a Merge query using multiple cols to join the tables.  This seems to be giving me the results I need but not sure if this is the most efficient way to solve the issue.

FreemanZ
Super User
Super User

where and how do you expect to display column1,2 or 3,4?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.