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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
craigmon
Helper I
Helper I

Calls per day of week name

Hi Guys,

 

I have the below table.  I'm trying to calculate a simple average.  I would like to display the average amount of calls offered per DayofWeekName.  The result table would just show Mon to Friday and the average calls offered for that of the week, based on the Month Year selected from the slicer.

Hope this makes sense

Thanks

 

QueueDayOfWeekNameMonth YearCalls Offered
Queue 1Wednesday2021-032
Queue 2Sunday2021-032
Queue 3Wednesday2021-032
Queue 4Friday2021-032
Queue 5Tuesday2021-032
Queue 6Tuesday2021-032
Queue 7Monday2021-032
Queue 8Sunday2021-032
Queue 9Saturday2021-032
Queue 5Tuesday2021-032
Queue 7Saturday2021-032
Queue 6Saturday2021-032
Queue 6Friday2021-032
Queue 4Friday2021-032
Queue 4Friday2021-032
Queue 5Tuesday2021-032
Queue 9Monday2021-033
Queue 7Saturday2021-032
Queue 4Monday2021-032
Queue 6Thursday2021-032
Queue 3Wednesday2021-032
Queue 4Monday2021-033
Queue 6Saturday2021-033
Queue 10Saturday2021-033
Queue 3Monday2021-033
Queue 6Friday2021-033
Queue 3Friday2021-033
Queue 6Monday2021-033
Queue 11Monday2021-033
Queue 12Monday2021-033
Queue 3Wednesday2021-033
Queue 3Wednesday2021-033
Queue 4Tuesday2021-033
Queue 3Monday2021-033
Queue 6Monday2021-033
Queue 3Wednesday2021-034
Queue 11Thursday2021-034
4 REPLIES 4
Icey
Community Support
Community Support

Hi @craigmon ,

 

Can't this work for your scenario?

Icey_0-1648177595566.png

 

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

truptis
Community Champion
Community Champion

Hi @craigmon , Try this:
Calls = COUNTROWS(SUMMARIZE(Calls,Calls[DayOfWeekName],Calls[Calls]))

Thanks, I've used the below but I'm getting very low results

 

01 Calls = COUNTROWS(SUMMARIZE(Query1, Query1[DayOfWeekName], Query1[QueueOffered]))

@craigmon , I think you should sum up

example

 

01 Calls = Averagex(SUMMARIZE(Query1, Query1[DayOfWeekName],"_1" , Sum(Query1[QueueOffered])), [_1])

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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