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!View all the Fabric Data Days sessions on demand. View schedule
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:
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 13 | |
| 9 | |
| 8 | |
| 5 | |
| 3 |
| User | Count |
|---|---|
| 28 | |
| 21 | |
| 20 | |
| 19 | |
| 12 |