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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
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 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors