Forum Discussion
DAX formula
- 4 years ago
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
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
- Anonymous4 years agoNot 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_Kapse4 years ago
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
- Anonymous4 years agoNot applicable
Thanks a lot! Tanushree_Kapse