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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Lee_Mather
Regular Visitor

run append query once per month/on demand

Hello All

 

Does anyone know if it is possible to run an append query on demand or schedule it on a monthly basis.

 

My reason for asking, is that I have a HR sharepoint list, but this is just a snapshot of where we are, and I want to have access to historical data.  So my plan was to create a repositary and we can append at the start of each month with the live data

 

ta in advance

 

Lee

2 REPLIES 2
ImkeF
Super User
Super User

This is a different method - not so vulnerable against accidental refresh all:

 

http://www.thebiccountant.com/2016/02/09/how-to-create-a-load-history-or-load-log-in-power-query-or-...

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

Greg_Deckler
Super User
Super User

You would create a query to your SharePoint list and load everything into your data model as "MyTable". You would then create a second query to the same SharePoint list and then choose Append Query and choose "MyTable" as to what should be appended. You would not refresh the first query, you would only refresh the second.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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