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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
fstupot
Helper II
Helper II

how to get total blank by month

hi guys,

 

i have historical data showing when a job is raised and when it has been completed.

 

when a job is still incomplete it has a blank cell under "completed date".

 

i want to show a monthly breakdown of how many jobs were not completed (blank) by month.

 

any help appreciated 

 

lucy x

 

data as per below

 

job_entry_dateactual_comp_datejob_eastingjob_northingpriority_codejob_type_name
03/11/2020 403352.8353284C3Drain - Camera / Cutter Required
03/11/2020 380042.2313845.5C3QDRAIN Ditch Clearing
02/11/2020 381980.2346457C3Drain - Camera / Cutter Required
02/11/2020 404497307841C3Drain - Camera / Cutter Required
02/11/2020 397532312135.8C3Drain - Camera / Cutter Required
02/11/2020 385850.9328875.4C3Drain - Camera / Cutter Required
02/11/2020 420270321638C3Drain - Camera / Cutter Required
02/11/2020 386779.8322230.2C3Drain - Camera / Cutter Required
02/11/202003/11/2020415468.3306484.4C3MDrain - Camera / Cutter Required
02/11/202003/11/2020399324313824C3Drain - Camera / Cutter Required
1 ACCEPTED SOLUTION
PaulDBrown
Community Champion
Community Champion

@fstupot 

 

Try this measure:

 

Not Completed = COUNTROWS(
                    FILTER('DataTable', 
                        ISBLANK('DataTable'[actual_comp_date])))

 

Result.JPG

 

FYI, this is how I have the model set up:

2020-11-05.png





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

6 REPLIES 6
fstupot
Helper II
Helper II

hi guys x

 

i want to show historically over a 12 month rolling perioid how many jobs i have outstanding

 

i have the job entry date, the job completed date (if completed)

 

if there is no completed date then that job is obviously outstanding. so i effectively want to show total blanks for previous months.

 

i cant seem to get my head round it and a previous solution hasnt worked.....the data is below.

 

thanks guys x

 

job_entry_dateactual_comp_datejob_eastingjob_northing
03/11/2020 403352.8353284
03/11/2020 380042.2313845.5
02/11/202005/11/2020381980.2346457

 

@fstupot 

 

Is this the same question you posted in this thread?

how to get total blank by month 

 

If so, please don't duplicate the question in different threads (keeping a single thread helps others looking for a similar solution and avoids duplicating answers etc...)





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






PaulDBrown
Community Champion
Community Champion

@fstupot 

 

Try this measure:

 

Not Completed = COUNTROWS(
                    FILTER('DataTable', 
                        ISBLANK('DataTable'[actual_comp_date])))

 

Result.JPG

 

FYI, this is how I have the model set up:

2020-11-05.png





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






fstupot
Helper II
Helper II

sorry but that doesnt seem to work. im sure i am doing something wrong. i have created a date table with mm/yyyy and linked job start date and actual complete data to it.

 

yet when i try to show something on a line chart i get nothing

 

i dont understand why showing outstanding workstack is so hard!

 

amitchandak
Super User
Super User

@fstupot ,

Join Job_entry with a date table and plot month wise data to filter for month.

This will give jobs not completed

 

calculate(countrows(Table), filter(Table, isblank([actual_comp_date])))

 

or refer my HR blog which can help find open job per month based what is still not closed

 

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

or

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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