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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Syndicate_Admin
Administrator
Administrator

Average by day of the week

Hello people.

I have this problem. I want to show in a table the average sales for each day of the week, i.e. the average sale on Mondays, the average sales on Tuesdays, and so on.

My DailySales table is related to the calendar table through the columan Date. I have a measure called Sales Valuation that adds up all the values in the SalesAppreciation column of the DailySales table.

joselopez0809_0-1710872814909.png

In addition to the sum of the sale on Monday, I do

I hope someone can help me

1 ACCEPTED SOLUTION
Daniel29195
Super User
Super User

@Syndicate_Admin 

 

create day of week col in the calendar table. 

drag it to the visual table. 

 

create the following measure : 

averagex ( values ( calendar_table[day of week col ] , [your measure]

)

 

 

let me know if this helps. 

 

 

If my answer helped sort things out for you, i would appreciate a thumbs up 👍 and mark it as the solution
It makes a difference and might help someone else too. Thanks for spreading the good vibes! 🙏v

View solution in original post

1 REPLY 1
Daniel29195
Super User
Super User

@Syndicate_Admin 

 

create day of week col in the calendar table. 

drag it to the visual table. 

 

create the following measure : 

averagex ( values ( calendar_table[day of week col ] , [your measure]

)

 

 

let me know if this helps. 

 

 

If my answer helped sort things out for you, i would appreciate a thumbs up 👍 and mark it as the solution
It makes a difference and might help someone else too. Thanks for spreading the good vibes! 🙏v

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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