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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Average

So I am trying to show average handle time per day with bars and the average of the month with a line. So I wrote a dax fuction but when I want to see the day by day it ended being the quantity of the bars which makes senses so I am stuck. I also do not want to use all since it will not work with any filter if do so.

 

So for the bar ir drag the column Select average but for the líne I am not sure what fax function i should use so i get the average of the month. I dont want yo use "ALL" since it would not work with Any filter 

 

AHT = AVERAGE(Base[duracion_minuto])

 

AlekseiNexa_0-1599960093748.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous 

Try the below measure

 

Calculate(AVERAGE(Base[duracion_minuto]), allexcept(Base,FORMAT(Base[date],"YYYY-MM")))

or

Post the sample data

 

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @Anonymous 

Use the line and clustered column chart and put handle time in the line values section select average as shown below.

pranit828_0-1599968263872.png

 

 

Anonymous
Not applicable

@Anonymous  i am usi g average gor the bars so i can ser the daily average but u Wanna compare the daily average with the monthly average 

Anonymous
Not applicable

Hi @Anonymous 

Try the below measure

 

Calculate(AVERAGE(Base[duracion_minuto]), allexcept(Base,FORMAT(Base[date],"YYYY-MM")))

or

Post the sample data

 

Anonymous
Not applicable

@Anonymous I had to check allexcept and I used on my calendar table and it worked! thanks!!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.