cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
kulkarnipriya87
Helper IV
Helper IV

If value is blank then value from other column should be displayed

Want to create one conditional column.

Condition is when INCI Name is blank then Value from description should be displayed.

Blank INCI = IF(IsBLANK('Item'[INCI Name]),'Item'[Description],'Item'[INCI Name])

I have tried this but couldn't work.



kulkarnipriya87_0-1695795901020.png

 

1 ACCEPTED SOLUTION
devesh_gupta
Solution Supplier
Solution Supplier

@kulkarnipriya87 Firstly, Ensure that both 'INCI Name' and 'Description' have compatible data types. For example, they should both be of type text or similar. Verify that there are actual blank values in the 'INCI Name' column. Sometimes, what appears to be blank might actually be a whitespace or non-breaking space.

Your DAX expression looks fine but if it's still not working, try this:

Blank INCI = IF('Item'[INCI Name] = BLANK(), 'Item'[Description], 'Item'[INCI Name])

Let me know if it works for you.

 

If you find this insightful, please provide a Kudo and accept this as a solution.

View solution in original post

2 REPLIES 2
devesh_gupta
Solution Supplier
Solution Supplier

@kulkarnipriya87 Firstly, Ensure that both 'INCI Name' and 'Description' have compatible data types. For example, they should both be of type text or similar. Verify that there are actual blank values in the 'INCI Name' column. Sometimes, what appears to be blank might actually be a whitespace or non-breaking space.

Your DAX expression looks fine but if it's still not working, try this:

Blank INCI = IF('Item'[INCI Name] = BLANK(), 'Item'[Description], 'Item'[INCI Name])

Let me know if it works for you.

 

If you find this insightful, please provide a Kudo and accept this as a solution.

Thanks, It works.

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors