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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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