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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I want to create an expression like this using DAX (new column)
If fraudscore= 1 then return "TrancUSD" or else =0
Fraud score contain values 1 and 0.
regards
Vish
Solved! Go to Solution.
Are Fraudscore and TrancUSD columns??
Column = IF ( Table1[Fraud score] = 1, Table1[TranscUSD], 0 )
not working
Not working means? Can you please atleast provide the error which are getting? Also, Please post some data. So, we can help you on this.
Are Fraudscore and TrancUSD columns??
Column = IF ( Table1[Fraud score] = 1, Table1[TranscUSD], 0 )
yes both are columns
For example, fraud score has values 0 and 1
&
transaction amount has values in USD
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 33 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 90 | |
| 78 | |
| 66 | |
| 65 |