Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
This is a very simplified version of my table. The actual one has like 20+ columns. I want to add up the orders for the whole week, divide by the number of days and visualize it on the bar chart. So, for each date, the value will look like this. For 11 to 15 sept week, the total 510 divided by 5days is 84. All the days are weekdays, monday to friday.
The graph will look like this. The orders by date.
How shall I achieve this?
thanks all.
Hi @katto16 ,
Try out the below steps
To achieve the desired visualization of the weekly sum of orders divided by the number of days (assuming weekdays) on a bar chart in Power BI, you can follow these steps:
Data Preparation:
Data Modeling:
Create a Bar Chart:
Customize Your Chart:
Interactions:
Refresh Data:
Hi @vs_7 thanks for the reply. I have a few issues with this.
All my dates are weekdays so I do not need the flag.
Each of the date may have multiple rows so I can't use countrow function when I divide the sum. So how should I identify each week?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
84 | |
69 | |
68 | |
39 | |
37 |