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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Pricey79
Helper V
Helper V

Nested IF help please

Hello everyone, I was hoping someone could help me please. I'm really struggoing with this for some reason

 

I have two columns, and I would like to create a new column that says True or Yes (doesnt matter really) if both columns have an entry in them.

How would I do this please? 

 

Thank you

1 ACCEPTED SOLUTION
pratyashasamal
Memorable Member
Memorable Member

Hi @Pricey79 ,

Please try this ,
True/False = IF (
    NOT(ISBLANK(Orders[Sales Total]))&&  NOT(ISBLANK(Orders[SalesByCatergory])) , "Yes","No"
    )
 
Thanks,
Pratyasha Samal
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

4 REPLIES 4
raimon
Resolver II
Resolver II

Try this - 

 

    IF (
        OR (
            ISBLANK ( 'Table'[Column1] ),
            ISBLANK ( 'Table'[Column2] )
        ),
        FALSE (),
        TRUE ()
    )

pratyashasamal
Memorable Member
Memorable Member

Hi @Pricey79 ,

Please try this ,
True/False = IF (
    NOT(ISBLANK(Orders[Sales Total]))&&  NOT(ISBLANK(Orders[SalesByCatergory])) , "Yes","No"
    )
 
Thanks,
Pratyasha Samal
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





@pratyashasamal   Wonderful, thnak you very much 

Idrissshatila
Super User
Super User

Hello @Pricey79 ,

 

Try this measure

 

Column = IF('Table'[Column1] <> BLANK() && 'Table'[Column2] <> BLANK(),"True","False")
Idrissshatila_0-1674471218962.png

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

 

Follow me on Linkedin



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.