Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.