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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Cacul of the average of a rate

Dear,
I designed a report that shows a rate ( realized on total ). It also allows me to filter by years and months.
The problem occurs when I select several months (Example: January and February ).
I would like to have the average of the January rate with that of fécrier.
The current program will give me the number achieved in January and February divided by the total number of January and February.
Do you have a lead for me?

 

Regards

2 REPLIES 2
johnt75
Super User
Super User

You could try a measure something like

Avg Rate =
var summaryTable = ADDCOLUMNS( SUMMARIZE( 'Date'[Year], 'Date'[Month]), "@val", [Rate])
return AVERAGEX( summaryTable, [@val])
tamerj1
Super User
Super User

@Anonymous 

It depends on the report itself. What are you slicing by and what's on the slicers. Can you please share a screenshot of the report

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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