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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Applicable88
Impactful Individual
Impactful Individual

Can several nested if-statements in parenthesis can be evaluated in a superior? (Power Query -M)

Hello,

 

I have question regarding M-Language to make a calculated column.

Can this structure be evaluated:

if  [Column100] = A then (if [Column1]= X  and [Column2]=Y then "First" else if [Column1]= Z or  [Column2]=b then "Second") else

if [Column200] =B then  (if [Column1]= X  and [Column2]=Y then "Three" else if [Column1]= Z or  [Column2]=b then "Fourth") else "FIVE"

Thanks in advance. 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Yes, but it's not the right forum to ask such questions. There's a forum devoted to Power Query.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Yes, but it's not the right forum to ask such questions. There's a forum devoted to Power Query.

Okay, I'm sorry, Thanks for clarifying. 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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