Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
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 on the table[current asset], it will be then transferred to table[current liabilities], else it will stay at table[current asset]
2.) if there were negative values inputted on the table[current liabilities], it will be then transferred to table[current asset], else it will stay at table[current liabilities].
See below-desired output:
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] )
)
Hi @Anonymous , thanks for taking the time on this. Was it the same measure if I use it on DAX? Thanks a lot!
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.
Hi TarunSharma, please find attached sampledata link https://www.dropbox.com/scl/fi/ymijxgkdbdqt8gzvut3q5/SampleData.xlsx?dl=0&rlkey=xxgmxsh13sm3rtojwndv...
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 18 | |
| 12 | |
| 11 | |
| 6 | |
| 6 |