Forum Discussion
dananjayaprasad
8 years agoHelper I
IF and Else Conditional formatting
Hey Guys, I ran into another problem. I have Calculated colunm called Sunday Sug.Hr. Please see below picture and formular that I used to calculate' (Sunday Sug.Hr = 'Traffic by Month'[Sunday....
- 8 years ago
Hi dananjayaprasad,
You just need to create a calculated column based on the column "Sunday Sug.Hr" using the formula below.Column = IF ( 'Traffic by Month'[Sunday Sug.Hr] = 0, 0, IF ( 'Traffic by Month'[Sunday Sug.Hr] < 8, 8, 'Traffic by Month'[Sunday Sug.Hr] ) )
Best Regards,
Angelia
dananjayaprasad
8 years agoHelper I
Thank you Angelia.
Peter_R
8 years agoResolver II
As an alternative for using those ugly nested IFs, the SWITCH function has some neat tricks - see https://powerpivotpro.com/2015/03/the-diabolical-genius-of-switch-true/