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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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,
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 54 | |
| 41 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 106 | |
| 99 | |
| 38 | |
| 29 | |
| 28 |