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
Anonymous
Not applicable

Average per weekday

Hi,

 

i need a column of measure what shows the average per weekday. Example there are as in the picture three tuesday with totals 176,7 and 12 and the result must be 65.

Average per day.jpg

1 ACCEPTED SOLUTION

Hi @Anonymous ,

 

Could you please share your sample data and excepted result to me, if you don't have confidential data? Please upload your file to One Drive and share the link here.

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

3 REPLIES 3
v-frfei-msft
Community Support
Community Support

Hi @Anonymous,

 

To create two calcualted columns as below.

 

TOTALS = CALCULATE(SUM(Table1[Number per day]),ALLEXCEPT(Table1,Table1[Submit Date]))
Result = SUMX(VALUES(Table1[Submit Date]),CALCULATE(MAX(Table1[TOTALS]),ALLEXCEPT(Table1,Table1[Submit Date])))/DISTINCTCOUNT(Table1[Submit Date])

Capture.PNG

 

For more details, please check the pbix as attached.

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
Anonymous
Not applicable

thank your for the answer, but i need an average per weekday and not per submit date. if i put more data in my datasets with different weekdays i don't get the right result.

Average per day.jpg

Hi @Anonymous ,

 

Could you please share your sample data and excepted result to me, if you don't have confidential data? Please upload your file to One Drive and share the link here.

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

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.