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
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
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.