Forum Discussion
Formatting based on condition DAX
- 6 years ago
Seems like it should be along the lines of:
Column = IF([Attribute] = "REVENUE",CONVERT([Value,CURRENCY),[Value])
Mariusz - Good call, I must have missed the introduction of that DAX function!
Hi Greg_Deckler
It's been introduced only a few months back, but it's solving the problems we all had with FORMAT in this king of scenarios.
Thanks
Mariusz
- corange6 years agoPost Patron
Hi,
I dont get it. I dont have an issue with FORMAT in that formula and my results are adding and not being transform as Text.
If I were to use your solution, how will it be written in a DAX Formula? The formula needs to be based on one column where we know if it is either a revenue or a job count, then use another column where I store the value and determine if Column 1 says Revenue then $ else Job Count "".
Thanks.