This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is now in read-only for platform upgrade. 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!
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.