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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Add an instance on refresh data

Hi,

 

I wanted to make a dashboard where i am updating today's data as below

 

Sales as on Today (22-Apr-2021)
ProductSales
Television250
Mobile475

1.jpg

 

and I wanted to make a chart of Last five days as data mentioned below

 

Sales of last five working days
DateTelevision SalesMobile Sales
21-Apr220500
20-Apr150425
19-Apr270390
18-Apr320450
17-Apr190360

 

2.jpg

 

I wanted to automate, When i refresh the first chart, Value of First chart/Table should add in table of Second chart for next day.

 

Sales of last five working days
DateTelevision SalesMobile Sales
22-Apr250475
21-Apr220500
20-Apr150425
19-Apr270390
18-Apr320450

 

There are chance that data has not updated correctly..So I need to verify the same once its ok..it should push to second table.

Is there any possibility that i can export it to excel.Because if i refresh first chart two/three time it will add instance in second table. So i can modify that table..I mean interactive excel?

2 REPLIES 2
Anonymous
Not applicable

@Anonymous 

Your requirement cannot be achieved with Power BI, refresh in Power Bi is just refresh the dataset and update to the newest data for source. The expected automation is not supported and unlikely to be included in the future updates.

 


Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

 

 

amitchandak
Super User
Super User

@Anonymous , for last 5 days you can have measure like this

 

New measure =
var _max = today() // maxx(allselected('Date', 'Date'[date])
var _min = _max -5
return
calculate(sum(Table[Sales]), filter(all('Date'), 'Date'[date] >=Min && 'Date'[date] <=_max && Date[Date] <=max(Date[Date])))

 

 

date on axis, product on legend as per need

 

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

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.