cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
gerwin024
Helper I
Helper I

Create a graph per month based on 2 dates

I've got a question, I want to create a graph and I don't know how to relate the date to the dates mentioned in the columns. The Table I've got is:

ID   Startdate     Enddate     
15-1-20204-4-2020
220-1-202023-4-2020
34-2-202012-5-2020
419-2-202031-5-2020
55-3-202019-6-2020
620-3-20208-7-2020
74-4-202027-7-2020
819-4-202015-8-2020
94-5-20203-9-2020
1019-5-202022-9-2020

 

I want to see in a graph per month how many ID's are active (Startdate < first day of that month & Enddate > last day of that month).

I want to see in a graph per month how many ID's start (Startdate <= last day of that month & Startdate =>first day of that month).

I want to see in a graph per month how many ID's end (Enddate <= last day of that month & Startdate =>last day of that month).

 

Endresult (as a table)

Active   024445320
New222220000
Out000221212
 jan-20  feb-20  mrt-20  apr-20  mei-20  jun-20  jul-20  aug-20  sep-20
1 ACCEPTED SOLUTION
amitchandak
Super User IV
Super User IV

@gerwin024, BAsed in what I have. I see it's very similar to my blog. See if that can help

https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

Video :https://www.youtube.com/watch?v=e6Y-l_JtCq4

Provide your feedback and tips for new videos
Dax Series Tutorial Vs SQL Direct Query PBI Tips
We appreciate your congratulations.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

1 REPLY 1
amitchandak
Super User IV
Super User IV

@gerwin024, BAsed in what I have. I see it's very similar to my blog. See if that can help

https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

Video :https://www.youtube.com/watch?v=e6Y-l_JtCq4

Provide your feedback and tips for new videos
Dax Series Tutorial Vs SQL Direct Query PBI Tips
We appreciate your congratulations.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

Helpful resources

Announcements
User Groups Public Preview

Join us for our User Group Public Preview!

Power BI User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.

March Update

Check it Out!

Click here to read more about the March 2021 Updates!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.