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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
AllisonGis
Regular Visitor

Represent Late Task Counts

I was hoping to represent the late task count in something like a gauge visual. I want to show the amount of late tasks remaining out of all tasks and another version out of all remaining incomplete tasks. Any help or suggestions would be greatly appreciated!

 

AllisonGis_0-1719406818293.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thank you @Kishore_KVN 

Hi, @AllisonGis 

Based on the sample data you provide:

vjianpengmsft_0-1719816075657.png

Start by creating a measure that calculates the total number of tasks:

Alltaks = COUNTROWS('Table')

Second, create a metric that counts the tasks with status=Late:

LateTask = COUNTROWS(FILTER('Table','Table'[Status]="Late"))

Use these two measures in the Gauge visual:

vjianpengmsft_1-1719816238539.png

I have provided the PBIX used this time below for your reference.

 

 

Best Regards

Jianpeng Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Thank you @Kishore_KVN 

Hi, @AllisonGis 

Based on the sample data you provide:

vjianpengmsft_0-1719816075657.png

Start by creating a measure that calculates the total number of tasks:

Alltaks = COUNTROWS('Table')

Second, create a metric that counts the tasks with status=Late:

LateTask = COUNTROWS(FILTER('Table','Table'[Status]="Late"))

Use these two measures in the Gauge visual:

vjianpengmsft_1-1719816238539.png

I have provided the PBIX used this time below for your reference.

 

 

Best Regards

Jianpeng Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

Hi @Anonymous,

Thank you so much for your help this is exactly what I was looking for! 

Kishore_KVN
Solution Sage
Solution Sage

Hello can you please elaborate the requirement. It is bit confusing. But if you want late percentage out of all tasks then you can use below Measure. 

Late Percentage = 
VAR LCount = CALCULATE(COUNTX('Table','Table'[Status]),FILTER('Table','Table'[Status]="Late"))
VAR OCount = CALCULATE(COUNTX('Table','Table'[Status]),ALL('Table'))
RETURN
DIVIDE(LCount,OCount,BLANK())

 

If this post helps, then please consider accepting it as the solution to help other members find it more quickly. Thank You!!

Absolutely! I am looking to represent a count of late tasks out of all tasks. The maximus value would be the task count as a whole where the value being represented on the visual would be the late tasks out of the full task number. i.e. I have 712 overall tasks and 82 late tasks

AllisonGis_0-1719413348746.png

 

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

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.