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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi,
to calculate the tax (mwst) in an order table, i have created a tax (mwst) table with the matching country code.
But now I need another restriction.
If the field class in the table OrderData contains the word "special", the field "VAT Special" should be used in the VAT table instead of the field VAT Regular.
If the field class contains something other than "special", then simply "VAT Regular".
In Speudo code like this.
if(OrderData[class]= special)
LOOKUPVALUE(Mwst[VAT Special],MWST[land],OrderData[land],1)
else
LOOKUPVALUE(Mwst[VAT Regular],MWST[land],OrderData[land],1)
But i have no idea how to do this the rigth way.
Solved! Go to Solution.
hi @aiplbonn
try like:
hi @aiplbonn
try like:
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.