Forum Discussion
DAX IF Statement producing errors highlighted in red font
- 4 years ago
ArchStanton
Yes sir, if you have got the correct results already then don't worry about it.
Thanks, writing it like this is definitely easier to understand or possibly debug in future.
The DAX still produces errors though:
- tamerj14 years ago
Community Champion
ArchStanton
What does the error say? Are you sure you are creating a calculated column not a measure?- ArchStanton4 years ago
Power Participant
I'm still learning PowerBI so please bare with me.
I can't see an error message but In the right hand corner this RED box appears when I go to the end of the code on line 14:
(and the FunctionalArea names are all in Red Font - does that not sugeest a problem)?
This is a new column that will contain only dates that I will use on my visuals.
Hope that makes sense?
- tamerj14 years ago
Community Champion
ArchStanton
Two possibilities I can think of. Either you are creating a measure by mistake or you are creating the column in the another table. In order to see the error you need to hit "Enter" and see the error message at the botom of formula box.