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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
ysf
Helper I
Helper I

How to create historic monthly snapshot summary of data within PowerBI

Below is an example of what I would like to have scheduled to run on a monthly basis. 

 

SELECT Monthkey ,Division ,Segment ,count() as 'Number of employees' 

  FROM HR.dbo.HR_DAILY

Group by   Monthkey, Division, Segment

 

See example below that would reflect after running in the second month:

 

Monthkey

Division

Segment

Number of Employees

202105

A

AA

233

202105

B

BA

51

202105

C

CA

23

202105

D

DA

33

202105

A

AB

40

202105

C

CB

311

202106

A

AA

222

202106

B

BA

57

202106

C

CA

33

202106

D

DA

21

202106

A

AB

39

202106

C

CB

298

 

How can we have this scheduled to run in PowerBI instead of a SQL job that runs on a monthly basis as we do not have permissions on the database to perform this function and merely access to a view of the data. 

3 REPLIES 3
lbendlin
Super User
Super User

Do you have control over the data source? Then do your snapshots there (bonus points if that source is event based like SFDC). Otherwise maintain your own storage in SQL server, or CSV files, or whatever you have available.

ysf
Helper I
Helper I

Hi 

 

Thanks @lbendlin 

 

I thought the same thing but didn't want to rule it out.

Can you advise which other way can I have the data to append so that I can finally show trend comparison through time.

 

Regards

 

lbendlin
Super User
Super User

That's not a snapshot, that is a grouping query.  It should work as you stated it, and grab the updated source data when you refresh the Power BI dataset.

 

Power BI has no memory. You cannot do snapshots with Power BI. Snapshots need to be done outside of Power BI.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Kudoed Authors