Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Jyo27
Helper II
Helper II

How can I change column names dynamically

Hi Everyone ,

 

I have the below data .When I select week 12 the below column name current week  should change to week 12 and the previous week should change to week 11. How can I resolve this issue?

 

Week slicer
11
12
13

Input: 

Current week Previous week 

 

Week 12week 11
1 REPLY 1
Anonymous
Not applicable

Hi @Big_Guy_j,

Current power bi does not support create dynamic calculated column/table based on filter. They do not work on the same level and you can't use the child level to affect its parent.

Notice: the data level of power bi(from parent to child level)

Database(external) -> query table(query, custom function, query parameters) -> data model table(table, calculate column/table) -> data view with virtual tables(measure, visual, filter, slicer)

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors