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

Insert static data into a table

Hello Guys, I'm building a report to show the evolution of some KPIs during a certain Time , so, I was wondering if there is a way to achieve the follow.....

 

Important, this report is updated Weekly , so image that in the update that was made on August 8 i had the following information in my data table

Sales PersonDateNumber of calls
SalesPerson AAugust 1st10
SalesPerson AAugust 2nd8
Salesperson AAugust 3rd 5

 

and lets imagine that, at the moment I run the update, in august 8th he didn't feed up the system with information for day 4, 5 6 and 7 .....

so, based on this, I will calculate his average calls from august 1st to august 8th , than we have (10+8+5)/8 days = 23/8 = 2,875

 

now , imagine that in the report I updated in August 15th my salesperson has updated the data that was missing, such as 

Sales PersonDateNumber of calls
SalesPerson AAugust 1st10
SalesPerson AAugust 2nd8
Salesperson AAugust 3rd 12
Salesperson AAugust 4th10
Salesperson AAugust 5th10
Salesperson AAugusto 6th '20

and so on until August 15th

imagine now the the average calls of this salesperson is 10....

 

What I need is to somehow store this two calculated averages 2,875 and 10 to display in a report like

 

Reported DateAverage
Aug 8th2,875
Aug 1510

 

have in mind that is possible to my salesperson to record information for the past days .....

 

Basically what I was thinking to achieve it is 

 

Using Power query
- Get the calculation of the average calls

- Store it in a table that will be manually created to receive this information

 

next update the calculation will run and append the new average in the table keeping the old (2,875) and inserting the new one, like one "insert into " in SQL.

 

any idea how can I achieve this ? 

thanks

1 REPLY 1
lbendlin
Super User
Super User

Power BI has no memory, and no concept of global variables. You need to do that in the upstream system.

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.