Forum Discussion

AdamMetz23's avatar
AdamMetz23
Icon for Advocate I rankAdvocate I
3 years ago
Solved

How to use DAX formula SELECTEDVALUE with Field Parameters

Dear Power BI community,   I would like to ask for your help as I am trying to use DAX formula SELECTEDVALUE based on field parameters, however it is not doable based on the following error message...
  • andhiii079845's avatar
    3 years ago

    Can you perhaps upload a example file without sensitve datas? 
    Other post to field parameters 
    It seems to be possible. Perhaps try first to access only to the field parameter value? 

  • andhiii079845's avatar
    andhiii079845
    3 years ago

    Did you try to add a "calculate" in the var Lastyeardynamic:
    Lastyeardynamic = calculate(max(DWH[year])) ?