Forum Discussion

Neko12's avatar
Neko12
Regular Visitor
4 years ago

IF ELSE vs SWITCH for multiple years

I am trying to do a ratio-based calculation using DAX in Power BI.   Say, the column name is [2023 Cost],[2022 Cost],[2021 Cost], [YYYY Cost] and there is a fixed value: [Target Cost]   What is t...