cancel
Showing results for
Did you mean:
Helper III

## Average Volumes by Date

I have a column called 'Logged Date' which takes the format of 31/08/2018 23:57:14

I want to build a bar graph to show the average volume of enteries by day (Monday, Tuesday, Wednesday etc..).

1 ACCEPTED SOLUTION
Community Support

1. Enter the sample data and create a calculated column.

`weekday = FORMAT(Table1[Time],"ddd")`

2. Create a measure as below.

`Measure = CALCULATE(SUM(Table1[sales]))/COUNTROWS(Table1)`

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.
3 REPLIES 3
Community Support

Does that make sense? If so, kindly mark my answer as a solution to close the case.

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

1. Enter the sample data and create a calculated column.

`weekday = FORMAT(Table1[Time],"ddd")`

2. Create a measure as below.

`Measure = CALCULATE(SUM(Table1[sales]))/COUNTROWS(Table1)`

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

Hi,

Try this

1. Create a calculated column formula to extract the Data from the Date/time stamp Date=INT(Data[Logged Date]).  Format this column as Date
2. Create a Calendar Table
3. Create a relationship from the Date column of the Base data table to the Date column of the Calendar Table
4. In the Calendar Table, write thi calculated column formula to extract the Day of the week DoW=FORMAT(Calendar[Date],"dddd")
5. IN yoru visual drag DoW from the Calendar Table
6. Write this measure

=COUNTROWS(Data)

Hope this helps.

Regards,
Ashish Mathur
http://www.ashishmathur.com

Announcements

#### Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

#### Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

#### Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

#### Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors
Top Kudoed Authors