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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
nagoor
Helper III
Helper III

7 days Moving Average based on different dates in rows

Hi All,

I am trying to prepare the pre and post activity report for site upgradation. Below are things I need to do can anyone help me is it possible in power bi.

1) upgradation date will be different to each site 
2) want to measure a 3Kpi how it was before the upgrade and after.
3) Need to check whether it's an improving trend or in decreasing trend 

All the above should be in Table data. 

Ex: site 1 is upgraded at 30th Jan I want to do an average of 7 days to the pre-data and 7 days to post data. 
It should be one value and multiple KPIs.

 

I am currently calculating in Excel but would like to convert it into PBI. 

 

Sample Data Prepared in Excel


Thanks in advance..

1 REPLY 1
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @nagoor,

 


 



1) upgradation date will be different to each site 
2) want to measure a 3Kpi how it was before the upgrade and after.
3) Need to check whether it's an improving trend or in decreasing trend 

I am not very clear about such a requirement. Which column represents "site"? What does "7 days to the pre-data and 7 days to post data" mean? If you want a same output in Power BI as that in Excel view, you can use a Power BI Matrix visual, in which add [Period] to "Columns", add [Hrs] to "Rows", and add average of Avilibility to "Values".

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Users online (7,488)