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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi
is there a way to set a dynamic column name of a table based on slice selection?
lets say i have columns with names Sales this year(it is a measure), Sales last year(also a measure)
I have a slicer and what i want is to select 2020 then insted of Sales this year i want to show "Sales 2020" and instead of Sales last year i want to show "Sales 2019"
Solved! Go to Solution.
Hi @jja
Kindly check below attached.
Please note that we can't change the column name based on the slicer, I'd suggest you use the Matrix to be a workaround.
Hi @jja
Sure, it's possible.
Check my dummy pbix attached.
Hi @v-diye-msft
It is not about the dynamic data in a column - it is about dynamic column name
Hi @jja
Kindly check below attached.
Please note that we can't change the column name based on the slicer, I'd suggest you use the Matrix to be a workaround.
Hi @jja
Do you mean to keep the data unchanged by just change the column name dynamically??
Hi @v-diye-msft
no data in column will change according slicer selection and according selection also column name has to change
if i select year 2019 then column name is 2019 and data in column is 2019
working on it.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.