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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
nikhilmanohar
Helper I
Helper I

If Not blank - Formula for two columns

Hello,

 

How to compare two columns and return "0" if both columns are blank and return "1" otherwise. I'm an absolute beginner and any help would be greatly appreciated.

 

 

1 ACCEPTED SOLUTION
Zubair_Muhammad
Community Champion
Community Champion

HI @nikhilmanohar

 

You can use this column

 

Column =
IF ( AND ( ISBLANK ( Table1[Col1] ), ISBLANK ( Table1[Col2] ) ), 0, 1 )

Regards
Zubair

Please try my custom visuals

View solution in original post

2 REPLIES 2
Zubair_Muhammad
Community Champion
Community Champion

HI @nikhilmanohar

 

You can use this column

 

Column =
IF ( AND ( ISBLANK ( Table1[Col1] ), ISBLANK ( Table1[Col2] ) ), 0, 1 )

Regards
Zubair

Please try my custom visuals

@Zubair_Muhammad Thank you very much 🙂

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors