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
Merororiotuty_y
Regular Visitor

Avg of hourly sales

Hello all, 

I have a raw data with count figures (number of sales per day per hour) 

I used the sum function to get the total of each date per hour. (I'm also using a slicer to filter certain dates/hours) to compare the peak hours amoung diffrent timing/dates 

However, I'm not sure how to get the average of the sales (when i use the average measure ) it only gives the average of certain timings e.g. most of my sales per hour is 2-3, so the average is 2.5. However the actual average depends on the sum of the total sales. 

below is a sample of my data. 

DatehourSales No
1-1-202302
1-1-202311
1-1-202323
1-1-202333
1-1-202342
1-1-202353
1-1-202362
2-1-202303
2-1-202312
1 REPLY 1
v-zhangti
Community Support
Community Support

Hi, @Merororiotuty_y 

 

Based on the sample data you provided, can you tell me what output you expect? You can also show it with pictures or Excel.

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members 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.

Top Solution Authors