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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.