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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
Super User
Super User

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors