Forum Discussion

erikbeauch's avatar
erikbeauch
Frequent Visitor
3 years ago
Solved

Table visual: can you rename a column by using a variable?

Hi, I have specific measures that are named like this:

  • LastMonthValue
  • LastMonth-1Value
  • LastMonth-2Value
  • Etc

Each measure is using EOMonth() vs. Today to set the proper time period. When I bring those measures as columns in a table visual, I would like them to be dynamically renamed to reflect the month they represent, eg:

  • LastMonthValue column renamed to 2023-08
  • LastMonth-1Value column renamed to 2023-07
  • LastMonth-2Value column renamed to 2023-06

Is there a way to achieve this? Outside of the "Rename for this visual" option, which requires manual editing, I have not found a way to have this automated. Thanks in advance for your help!

3 Replies