Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
basyan1991
Regular Visitor

(Create bar chart) Sum up day data into month (not full month)

Hi 

 

I have a list of employees data. They have different start date, end date and daily wages.

How can I create a bar chart with x-axis as month. but sum up the wages base on the number of days in that month?

 

 Start DateEnd DateDaily wage
A15/2/202315/6/2023$100
B1/3/202330/4/2023$50
C1/5/202331/1/2024

$80

 

i.e. the figure of A should be $100 x (28-15=13 days) in February. And $100x31 in March.

 

I am building a rough forecast on the future number.

 

Glad if you can give me a hand on this. Thanks! 

3 REPLIES 3
Ahmedx
Super User
Super User

how to calculate the networkdays
https://dropmefiles.com/dqw6c
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.

Screen Capture #321.pngScreen Capture #322.pngScreen Capture #323.png

Ahmedx
Super User
Super User

Firstly, A in February has not 13 but 14 days
second, Is this what you are looking for?

Screen Capture #318.png

Screen Capture #317.png

Hi

thanks for your quick response. 
yes it should be 14.

 

how to calculate the networkdays?

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.