Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
87 | |
81 | |
53 | |
38 | |
35 |