I am having some trouble making a new column in my table, which shows sales including VAT, but is dependent on currency
The columns I have are:
Lineamount - showing the amount per invoice line, ex VAT
Currencycode - showing the currency on that line
Organizationname - showing the name of the company
Warehousefiltercode2 - an unfortunately named column, which shows product group
Ideally, I would like to be able to show a matrix which likes like this (hopefully the picture I attached appears here...):
Which shows sales by Company, by product group, with 2 columns: Ex VAT and Inc VAT.
The matrix part of it is fine, I've done that.
What I want to be able to do (and am struggling with the forumla to do so) is create a new column which is 20% more than the Ex VAT column. As you can see above, currently it does not work. The additional complication is that some customers are in USD/EUR, where there is no VAT.
So in essence the column needs to look at the currency column, see if it is GBP, and if it is, multiply by 1.2. If it isn't multiply by 1.
If this was excel I would do some sort of nested IF Vlookup, not sure how to do it in DAX.