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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Lamar249
Frequent Visitor

How to Snapshot totals from previous day?

How can I capture a snapshot of the Total Sales, Cost, Margin, and Margin % totals for a non-date-specific dataset, allowing me to compare the changes in total sales and cost for each of the five locations. 

3 REPLIES 3
amitchandak
Super User
Super User

@Lamar249 , Join snapshot with date table, assume Total Sales

Then have measure like

 

calculate([Total Sales], previousday('Date'[Date]))

 

Day Intelligence - Last day, last non continous day
https://medium.com/@amitchandak.1978/power-bi-day-intelligence-questions-time-intelligence-5-5-5c324...

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

Lamar249_1-1684437050914.png

I need a visual like this created in Power Bi. The issue is none of this data is associated with a date. In esscence I need to sum up all of the data and save it in a seprate table in PBi as a single row for each facory location  and the current date as the key.
example
05/1/23 | Factory 1 | Sales | Cost | Margin
05/1/23 | Factory 2 | Sales | Cost | Margin  
05/1/23 | Factory 3 | Sales | Cost | Margin  
05/2/23 | Factory 1 | Sales | Cost | Margin  
05/2/23 | Factory 2 | Sales | Cost | Margin  
05/2/23 | Factory 3 | Sales | Cost | Margin 
and so on after each refresh...... 

I understand the date intelligence but how do I create a snapshot table of the data? I need a table that populates a new row every refresh so that I can compare the shift in values. 

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 Solution Authors
Top Kudoed Authors