Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

DAX Formula Help

Dear Team

 

I have data table so i want to change line chart using the formulas and working well for single region.

if i try to apply filter multiple region doesn't support me. how to resolve this.

 

Example if i apply filter for Amercia + Denmark then value should show $ value 70,000 and % value = 1.108

 
TEST =
VAR Val =
ROUND(CONVERT(VALUES('Data'[Value]),DOUBLE),3)
VAR Defines = IF(
           VALUES('Data'[Type])="- PM $",Val)
     
RETURN Defines

 

 

RegionTypeValue
AmericaPM %0.32
AmericaPM $40000
DenmarkPM %0.788
DenmarkPM $30000
RussiaPM %0.822
RussiaPM $430494

 

Thanks

1 Reply