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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
swathrddy
Helper I
Helper I

auto Refresh monthly

Hi All,

 

I created KPI dashboard, Data extracted from Excel file (See pic). I am manually refreshing the data everymonth and then Unpivoting the NEW Date/Month Column.  

 

= Table.Unpivot(#"Changed Type1", {"1/01/2024", "1/02/2024", "1/03/2024", "1/04/2024", "1/05/2024", "1/06/2024", "1/07/2024", "1/08/2024"}, "Attribute", "Value")

 

Question: what is the best way to automate this process for next month. Excel file is in sharepoint which will be updated by multiple users. the numbers should appear in the dashboard.

 

Please suggest.

 

swathrddy_0-1726042785809.png

swathrddy_1-1726043252785.png

 

swathrddy_2-1726043286591.png

 

Regards!

 

1 ACCEPTED SOLUTION
lkalawski
Resident Rockstar
Resident Rockstar

Hi @swathrddy,

 

Change the logic to UnpivotOtherColumns and then you don't need to edit the code every month.

1. Start point

lkalawski_0-1726043939294.png

2. Unpivot Other columns (select columns which you don't want to unpivot and then click on this option):

lkalawski_1-1726043992390.png

3. The result:

lkalawski_2-1726044007964.png

 

Now you can setup a schedule refresh in Power Bi service.

 

 

PBI_SuperUser_Rank@1x.pngMemorable Member | Former Super User
If I helped, please accept the solution and give kudos! 
Linkedin

 

View solution in original post

3 REPLIES 3
lkalawski
Resident Rockstar
Resident Rockstar

Hi @swathrddy,

 

Change the logic to UnpivotOtherColumns and then you don't need to edit the code every month.

1. Start point

lkalawski_0-1726043939294.png

2. Unpivot Other columns (select columns which you don't want to unpivot and then click on this option):

lkalawski_1-1726043992390.png

3. The result:

lkalawski_2-1726044007964.png

 

Now you can setup a schedule refresh in Power Bi service.

 

 

PBI_SuperUser_Rank@1x.pngMemorable Member | Former Super User
If I helped, please accept the solution and give kudos! 
Linkedin

 

Yessss, It worked. 

 

Thank you for the help @lkalawski 

Idrissshatila
Super User
Super User

Hello @swathrddy ,

 

you can schedule a refresh on Power bi service and the transformations you did in power query will automatically be applied.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.