Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago

Working out multiple IFS

Hi all,

 

I am trying to recreate the below excel formula in Power BI

=IF(AC2="","",IF($B$1>=Holidays!$E$1,IF(AE2<=EOMONTH($B$1,0),EOMONTH($B$1,1),AE2),IF(AE2<=EOMONTH($B$1,0),EOMONTH($B$1,0),AE2)))

 

The below is the "Holidays!" tab which in itself contains a formula which I would prefer to build in power bi, rather than create endless columns.

 

I'm struggling to recreate this without building several columns, so any advice would be appreciated.

 

Thanks,

 

Glen

 

1 Reply