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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Syndicate_Admin
Administrator
Administrator

Average % overall monthly and by workplace

Hello

My company is changing the format of reporting to Power BI and the average of the % compliance of the Holding per month and per work center must be presented in a dynamic way.

The information begins in September 2021 to date. But for the exercise, consider June 2022. My table is as follows:

tabla 1.jpg

the idea is to represent it in this way and at the same time by work center.

representacion.jpg

I have tried with accumulated, average mobile, among other ways, without giving me the same results. That is why I turn to you, for guidance.

Of course, thanking you for your help,

Carolina.

2 REPLIES 2
amitchandak
Super User
Super User

@Syndicate_Admin , Nor vet clear, You need like

 


3 Month Avg = CALCULATE(AverageX(Values('Date'[MONTH Year]),calculate(Sum('Table'[Value)))
,DATESINPERIOD('Date'[Date ],MAX('Date'[Date ]),-3,MONTH))

 

or

 

CALCULATE(AverageX(Values('Table'[work center]),calculate(Sum('Table'[Value)))
,DATESINPERIOD('Date'[Date ],MAX('Date'[Date ]),-3,MONTH))
,DATESINPERIOD('Date'[Date ],MAX('Date'[Date ]),-13,MONTH))

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

Dear

I tried the first option and I get the following error. Have I written something wrong?

Captura de pantalla 2022-09-02 125753.jpg

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.