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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.