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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
gjelstrup
Helper I
Helper I

Help to visualize my data - I would like to get a summarized of open actions per month

Hi Community, 

 

I have some data, where I can visualize the number of actions completed per month as shown by the blue line below. This works fine.

gjelstrup_1-1666091795079.png

 

When I would like to visualise the number of open actions per month (completion date empty) , it does not give me data. I can get the number of closed and open actions as a number as shown above, however I cannot find out to visualize this per month.

Expected Result:

My hope is that I will get a line for #number of open actions, so I will get a line that will show me if I calculate back 139 open in may2022, 140 open (139+1) in Mar2022 and for feb 152(139+1+12) and so on. 

 

I have in my dataset a date for created at and completion date. Each line has also a unique number. 

gjelstrup_2-1666092417157.png

 

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@gjelstrup , Refer if my HR blog can help

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

 

ot the attached files

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@gjelstrup , Refer if my HR blog can help

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

 

ot the attached files

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak Dear Amitchandak, I succeded in creating the lines needed. I only have one comment. 

In my datetable is dates until 2025 and therefore is given dates after today as shown on the below graph.

 

can you advise how to get the data to not have values after today from your below formula ? 

 

Current Employees = CALCULATE(COUNTx(FILTER(Employee,Employee[Start Date]<=max('Date'[Date]) && (ISBLANK(Employee[End Date]) || Employee[End Date]>max('Date'[Date]))),(Employee[Employee Id ])),CROSSFILTER(Employee[Start Date],'Date'[Date],None))
 

 

gjelstrup_0-1666354984805.png

 

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.