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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Nikki
Helper II
Helper II

Sum data based on date range

Hi

Im trying to create a column chart which displays the number of tasks per month that have a shipping date relevant to that month.

I have 1 table called tasks. In tasks i have task name and task finish date. I cant get it to sum the values, in pic u can see it puts the months next to each other Also i have specific dates for each finish date, so i have in power bi changed these values to be a month field.. i dont need cumulative i just need to show how many projects have finish dates in that month for specific tasks.

 

thanks in advance 🙂

N2017-03-06_21-29-57.png

1 ACCEPTED SOLUTION
Eric_Zhang
Microsoft Employee
Microsoft Employee

@Nikki

Have you tried to create a calculated column based on the specific date and create a column chart based on the shipping month.

 

shipping month = DATE(YEAR(Task[ShippingDate]),MONTH(Task[ShippingDate]),1)

 

View solution in original post

3 REPLIES 3
Eric_Zhang
Microsoft Employee
Microsoft Employee

@Nikki

Have you tried to create a calculated column based on the specific date and create a column chart based on the shipping month.

 

shipping month = DATE(YEAR(Task[ShippingDate]),MONTH(Task[ShippingDate]),1)

 

thankyou - i was able to add a grouping to the date on x axis- which allowed me to create a bin which i selected per month (voila!!)

Eric_Zhang
Microsoft Employee
Microsoft Employee

@Nikki

So isn't adding a grouping work for you now? If not, could you be more specific? I don't get too much idea from the original post.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.

Top Kudoed Authors