Forum Discussion

BradRose's avatar
BradRose
Helper I
7 years ago
Solved

How to Create a Dynamic Measure name in Power BI

Good Morning:

 

Is it possible to have a measure name dynamic?  Instead of hard coding the Measue Name "2019 Sales" and then next year having to update the Measure name I would like the Measure name to be Dynamic based on DAX Code.

 

Thanks

 

Brad

  • Anonymous's avatar
    Anonymous
    7 years ago

    BradRose,

    Currently I don't think so. You could, however, modify your DAX measures to get the current year value, instead of hardcoding 2019; or create a year parameter table, and use its value for your measures.

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    BradRose,

    Currently I don't think so. You could, however, modify your DAX measures to get the current year value, instead of hardcoding 2019; or create a year parameter table, and use its value for your measures.