Forum Discussion
Nested IF, AND, OR statement
- 6 years ago
Hi, you can use parentesis in combination with && (and) and || (or) for complex IF statements without those nasty nesting IF statements 🙂 . You dax would be like this in this case.
% complete calc. = IF('Table'[ActualProgress%]=1 && 'Table'[In Budgeted Year] <> YEAR(TODAY()), FALSE, TRUE)Kind regards
Djerro123
-------------------------------
If this answered your question, please mark it as the Solution. This also helps others to find what they are looking for.
Keep those thumbs up coming! 🙂
Hi, you can use parentesis in combination with && (and) and || (or) for complex IF statements without those nasty nesting IF statements 🙂 . You dax would be like this in this case.
% complete calc. = IF('Table'[ActualProgress%]=1 && 'Table'[In Budgeted Year] <> YEAR(TODAY()), FALSE, TRUE)
Kind regards
Djerro123
-------------------------------
If this answered your question, please mark it as the Solution. This also helps others to find what they are looking for.
Keep those thumbs up coming! 🙂
Ah! Forgot about using the double ampersand! Thank you so much!