Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I have some calculated fields named "CY_sales", "LY_sales", and so on, linked to a date table.
Is there any way I can substitute the field name by a variable to be shown as every column header in tables and matrix?
Id like to show "2020" instead of "CY_sales", and get it changed to "2021" next year.
Thanks,
Solved! Go to Solution.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsRegards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsUnderstood, but I can't use this solution because the matrix has CY, LY, LL, TTM columns, so the title can't refer to any specific period.
Thanks anyhow.
Hi @jmvidal ,
Your title could be a dinamyc one that says 2020 sales vs 2019 something similar. But just an idea.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsI guess I could also add a text box with the meaning of the columns: "CY:2020 LY:2019" being the number of the year dynamic.
Thanks,
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |