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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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
Super User
Super User

@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
Super User
Super User

@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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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