Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
sathishramuk33
Frequent Visitor

dax issue

hi everyone ,

i have some dax issues , my requriments is when i click on that currency slicer is filter to the matrix table only first three row is not change in currency values .

so am create one" parameter id" column also like (1,2,3,4,5...)

example:

i need to first three row values is " column =A "values , otherwise fourth to end row values given from " netvalue" measure value.

(var netvalue =axb

if paramter id=1 or 2 or 3

return 'TABLE B'[InputValueInEURO] values

else

return netvalue)

 

am written the dax is:

 

TabularView = var selectedCurrency = IF(ISBLANK(SELECTEDVALUE('table A'[CurrencyCode])), "EUR", SELECTEDVALUE('TABLE A'[CurrencyCode]))
var netValue = (SUMX('TABLE B',
    'TABLE B'[InputValueInEURO] *
    Lookupvalue('TABLE A'[EurRate],
        'TABLE A'[CustCurrencyDate], 'TABLE B'[CustomYearMonth],
        'TABLE A'[CurrencyCode], selectedCurrency)))
return netValue
tempsnip.png

 

pl sort me out

1 REPLY 1
Anonymous
Not applicable

Hello @sathishramuk33 
If you want to change the currency based on the slicer then you can refer to the below links.
Link 1 
Link 2 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors