Forum Discussion
DAX if statement syntax error
- 7 years ago
Anonymous Please note "Power Query" expressions are case sensitive. "IF" not same as "if", please correct the all keywords in your expression.
Yes I'm working in PowerQuery... (I thought this was the same)
I've tried several approaches nothing seems to work..
My Column conatins 12 unique types of entry (text), all those rows containing the words "SHOWS" should be returned as "SHOWS". Entries with "DRY" or "WATER" should return "DRY", all other entries should Return the value "HC"
Keep getting Syntax errors I don't understand... is the syntax case sensative, when should I use IF.. Then and Else rather than commas
(This is an Oil industry problem... in case you were wondering)
SUCCESS... all in order....
Many thanks for your help... I've a long way to go on the learning curve