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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Kudoed Authors