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 have two currencies in my dataset, "GBP" & "Euros".
I would like to create a Calculated column where I convert "GBP" to "Euros" and leave "Euros" as is.
I am trying it with the following IF statement but I keep getting an error.
=IF(
[CURRENCY]="€",
[Value],
[Value]/.85)
Solved! Go to Solution.
Hi @zubairs ,
You're trying to use DAX in Power Query, which uses M.
The correct syntax would be:
if [CURRENCY] = "E" then [Value] else [Value] / 0.85
Pete
Proud to be a Datanaut!
Hi @zubairs ,
You're trying to use DAX in Power Query, which uses M.
The correct syntax would be:
if [CURRENCY] = "E" then [Value] else [Value] / 0.85
Pete
Proud to be a Datanaut!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 10 | |
| 9 | |
| 8 | |
| 7 |