Forum Discussion
rbalza
Helper III
5 years agoNeed help - IF condition - dax measure
Hi PBI friends, I have a table with two columns named Table[Current Asset] and Table[Current Liabilities] and I wanted to make a dax measure where: 1.) if there were negative values inputted ...
Anonymous
5 years agoNot applicable
Hello rbalza
You can create a calculated column and use in your visual.
Conditioning =
IF (
table[current asset] < 0,
table[current liabilities],
IF ( table[current liabilities] < 0, table[current asset] )
)
rbalza
Helper III
5 years agoHi Anonymous , thanks for taking the time on this. Was it the same measure if I use it on DAX? Thanks a lot!
- Anonymous5 years agoNot applicable
Hello rbalza
Nope. You have to use VALUES to store the field values. If you need further help please share your data in a table format with the expected output after removing the sensitive information.- rbalza5 years ago
Helper III
Hi TarunSharma, please find attached sampledata link https://www.dropbox.com/scl/fi/ymijxgkdbdqt8gzvut3q5/SampleData.xlsx?dl=0&rlkey=xxgmxsh13sm3rtojwndvlwdbf