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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Working with dates

Hi,

 

First of all sorry if the title is not fit for the problem I have, but I just didn't know how to put it.

 

I have a table which looks something like this:

 

Start_dateSubmission_dateApproval_dateReject_date
01/09/202001/09/202002/09/2020 
01/09/2020  06/09/2020
02/09/202003/09/2020 03/09/2020
03/09/202004/09/202005/09/2020 
03/09/202003/09/202005/09/2020 
03/09/202004/09/2020 04/09/2020
04/09/202004/09/202004/09/2020 

 

Based on this information, I need to create several line graphs showing different cumulated counts. Basically, a count of the entries whose value is less than or equal to (<=) the value (date) being considered at the time.

 

For instance, I want to create a line graph that shows the cumulated count of entries which are completed and NOT rejected (Submission_date NOT blank and Reject_date blank). This graph's X axis should go from 1 to 31 (days of month), and show a different line for each month (thou in the example date only September information appears).

 

In table format, the cumulated count would look like:

 

Date (Days)Submitted_countApproved_countRejected_count
01/09/2020100
02/09/2020110
03/09/2020311
04/09/2020622
05/09/2020642
06/09/2020643

 

The problem I have is the first column here (Date (Days)) is an aggregation of column Start_date, and I think it is messing the results...

 

If I create a calendar table and create a relationship with whichever column in the main table the results will be the same as in the aggregation case, while if I don't create a relationship between the calendar table and the main table then Power BI doesn't know how to behave.

 

I hope I've been clear enough... I'm not that proficient with Power BI, and can't seem to get around this.

 

Any help will be welcome! Thanks!

1 REPLY 1
v-kelly-msft
Community Support
Community Support

Hi @Anonymous ,

 

Could you pls explain more about how to calculate out the count result?

 

Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!

 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.