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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.