Forum Discussion
DAX formula
Hi Anonymous ,
Use this:
Measure= IF(SELECTEDVALUE(Table[Region])= "EMEA", CALCULATE(SUM('Inv. Opportunities'[On Hand Value])/9.1,'Inv. Opportunities'[InventoryPlanning]="NB"), IF(SELECTEDVALUE(Table[Region])= "APAC)" CALCULATE(SUM('Inv. Opportunities'[On Hand Value])/6.7,'Inv. Opportunities'[InventoryPlanning]="NB"), CALCULATE(SUM('Inv. Opportunities'[On Hand Value]),'Inv. Opportunities'[InventoryPlanning]="NB"))
Mark this as a solution, if i answered your question.
Thanks
5 Replies
- Tanushree_Kapse
Impactful Individual
Hi Anonymous ,
Use the below Measure:
Measure= IF(AND(SELECTEDVALUE(Table[Region])= "EMEA", SELECTEDVALUE(Table[Region])= "APAC)", CALCULATE(SUM('Inv. Opportunities'[On Hand Value])/9.1,'Inv. Opportunities'[InventoryPlanning]="NB"), CALCULATE(SUM('Inv. Opportunities'[On Hand Value]),'Inv. Opportunities'[InventoryPlanning]="NB"))
Mark this as asolution, if I answered your question. Kudos are always appreciated.Thanks
- AnonymousNot applicable
Thank you! Tanushree_Kapse .
Both the regions have two different exchange rates.
For eg: EMEA has 9.1 and APAC has 6.7
How can I implement that?
Thank you!
- Tanushree_Kapse
Impactful Individual
Hi Anonymous ,
Use this:
Measure= IF(SELECTEDVALUE(Table[Region])= "EMEA", CALCULATE(SUM('Inv. Opportunities'[On Hand Value])/9.1,'Inv. Opportunities'[InventoryPlanning]="NB"), IF(SELECTEDVALUE(Table[Region])= "APAC)" CALCULATE(SUM('Inv. Opportunities'[On Hand Value])/6.7,'Inv. Opportunities'[InventoryPlanning]="NB"), CALCULATE(SUM('Inv. Opportunities'[On Hand Value]),'Inv. Opportunities'[InventoryPlanning]="NB"))
Mark this as a solution, if i answered your question.
Thanks
- smpa01
Community Champion
Anonymous how are you storing your excahnge rate for EMEA, APAC, NA...are you storing in a seperate table?