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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
BICrazy
Helper II
Helper II

Combine 2 Measures into 1 Column

Hi,

 

I have 2 measures that were each created from separate tables which are labelled Sales Conversion Rate as per the screenshot attached. I'd prefer to display both of these measures as one column for the dashboard.  

Basically if the one column is blank then it needs to use the value from the next column.  Unfortunately I cannot create a custom column in this instance because I'm not using calculated columns, but measures instead.

image.png

Kind regards

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi,

 

I think an IF Statement would do.

 

New_Column:= IF(Table[Sales_Conversion1]<>BLANK(),Table[Sales_Conversion1],Table[Sales_Conversion2])

Best Regards,
Vignesh M

If what I suggested worked for you feel free to Drop a "Kudos" and Consider to "Accept as Solution" if I solved your Issue 🙂

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi,

 

I think an IF Statement would do.

 

New_Column:= IF(Table[Sales_Conversion1]<>BLANK(),Table[Sales_Conversion1],Table[Sales_Conversion2])

Best Regards,
Vignesh M

If what I suggested worked for you feel free to Drop a "Kudos" and Consider to "Accept as Solution" if I solved your Issue 🙂

@Anonymous  - Hi, I've changed the measures to calculated columns. However, the IF statement won't work in this situation because the calculated columns are in separate tables and I cant create a relationship between the 2 tables because none of them contain unique values. 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors