Forum Discussion

kpost's avatar
kpost
Solution Sage
3 years ago
Solved

Text value alphabetically between two other values, resolved as TRUE/FALSE

I have a column with text values such as:   16101X 16102X 16103X 16C01A 16C02A 16C03A etc.   I want to add a calculated column that groups these using a switch statement like so: SWITCH(...
  • parry2k's avatar
    3 years ago

    kpost My take is the opposite of what you said, if you can do it at the backend, it is always advisable to do it there then doing it in Power BI. I'm sure if you have CASE logic in SQL, you can easily translate that into DAX. Not sure if I can be of further help.