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
Matt_0311
New Member

Help with calculating # of open task backwards based on already applied filters

Hello everybody, it would be great if somebody could help me with some code that is calculating the amount of open task backwards (i.e. development week over week).

 

I have one table with let's say one task per line. Every job has two date fields (1. task created // 2. task completed).

 

I am already filtering the table for several visuals (i.e. displaying adherence to plan, leadtimes etc.). I would now like to display the mount of open jobs backwards as I am now only able to display the amount of open jobs today on one card.

 

Happy to receive any kind of proposal for i.e. calculating a measure for that ... 

 

Thx

Matt

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Matt_0311 , see if this blog can help

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

 

or

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

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

5 REPLIES 5
amitchandak
Super User
Super User

@Matt_0311 , see if this blog can help

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

 

or

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

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

@amitchandak - Hi amitchandak, I have one additional question to the example. I do have a relation between the field "task completed" and time table. The formula is only working if I have my switch this existing connection to inactive and create a new connection between "task created" and the time table. Problem is that all other visuals and calculations are then not working anymore. Is there anther way to overcome this?

@Matt_0311 , if you make an active join inactive in Model view, you need make sure all formulas that need this join should has userelationship to make sure they can work with inactive join

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

Hi @amitchandak , Thx for quick feedback. Any chance to just deactivate a join within one formula so that I do not need to change all other formulas that need this specific join? Another option would obviously be to have a second date table only for this measure. Just wanted to avoid this.

 

Thx @Anonymous  ... this is exactly what I was looking for. And it works ... 🙂

 

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.