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
Sejal
Frequent Visitor

dynamic table and columns

Hi 

I have a dynamic table in excel. It keeps changing every month.
It has columns of all weeks. The columns keeps changing every month.
I want to display the data of latest 4 weeks  and 8 weeks.

I want to display data of last month. So December’s data in January...then January’s data in February and so on.

 

So I have created table visual. Inserted 4 columns of 4 weeks .Then 5th column as sum of 4 columns.
How do I display it on table visual so when the column changes , it automatically updates on visual.

so basically we need to change column names on table visual while refreshing columns on table in Exccel.

 

Please see the attached report. I want to display this type of report on table visual.

waiting for the best solution......

Thanks a lot 

WhatsApp Image 2023-01-20 at 2.09.08 PM.jpeg

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Sejal , Make sure it is marked as a table in excel. While loading instead of table use the table option below

 

amitchandak_0-1674219585856.png

 

 

I think, You need to use unpivot other in power bi and then use Matrix visual to pivot again

https://radacad.com/pivot-and-unpivot-with-power-bi

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

3 REPLIES 3
Sejal
Frequent Visitor

Thanks a ton for this solution. .it works So Perfect.

Sejal
Frequent Visitor

@amitchandak  Oh wow .... it works magically.... So Perfect 🙂

Thanks a ton for this solution. I really  appreciate it.

 

 

amitchandak
Super User
Super User

@Sejal , Make sure it is marked as a table in excel. While loading instead of table use the table option below

 

amitchandak_0-1674219585856.png

 

 

I think, You need to use unpivot other in power bi and then use Matrix visual to pivot again

https://radacad.com/pivot-and-unpivot-with-power-bi

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.