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

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

Reply
SadStatue
Helper II
Helper II

saving values out of a query in a data table

Hi Guys,

 

I'm building a report, and I have a query that bring me the most current situations of due invoices. beside showing the current situation I want to show the historical trends as well.

How can I get the values of the query each day and save it in another table in my data model with date, so I can plot it based on the date?

e.g. the query run today(25/02/2021) and bring back A=1000200

I want to keep this value in another table like this:

Dateamount

24/02/2021

1000000
25/02/2021

 

1000200

 

Cheers,

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@SadStatue , I think you want to store past data so that you can have a snapshot past when data is refreshed

 

refer if the approach of these blogs can help

 

https://blog.crossjoin.co.uk/2020/04/13/keep-the-existing-data-in-your-power-bi-dataset-and-add-new-...
https://www.thebiccountant.com/2017/01/11/incremental-load-in-powerbi-using-dax-union/

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

2 REPLIES 2
amitchandak
Super User
Super User

@SadStatue , I think you want to store past data so that you can have a snapshot past when data is refreshed

 

refer if the approach of these blogs can help

 

https://blog.crossjoin.co.uk/2020/04/13/keep-the-existing-data-in-your-power-bi-dataset-and-add-new-...
https://www.thebiccountant.com/2017/01/11/incremental-load-in-powerbi-using-dax-union/

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

Hi @amitchandak ,

 

Thank you for your response. Is the incremental refresh just work for fully folded queries? as I have some issue in implementing it.

 

Cheers

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.