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.
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?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
95 | |
94 | |
79 | |
71 | |
64 |
User | Count |
---|---|
120 | |
105 | |
99 | |
81 | |
72 |