Forum Discussion
Jonas_Jonas
9 years agoFrequent Visitor
Datatype variant
Hello everybody! I have two columns. A text column with different colors in it and a number column with values. When i build the IF function there is the error message: Can not use expressions ...
- 9 years ago
Hi everybody!
I solved the problem on my own.
Instead of writing *(-1) in the IF function, write a new measure with "-1".
The new IF function than is:
= IF(table1[COLOR]="BLACK";table1[VALUE]*([Measure];table1[COLOR])
With kind regards
Jonas
Jonas_Jonas
9 years agoFrequent Visitor
Hi everybody!
I solved the problem on my own.
Instead of writing *(-1) in the IF function, write a new measure with "-1".
The new IF function than is:
= IF(table1[COLOR]="BLACK";table1[VALUE]*([Measure];table1[COLOR])
With kind regards
Jonas