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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
naftycs
Regular Visitor

total count of Overdue,

Hello Everyopne:

naftycs_0-1655760533713.png

Could you please help me to create a measure that calculates in progress overdue as of Today?

 

I need the total count of Overdue, where Overall Status = "Complete" and "In progress" "(BLANKS) AND PWC Actual Completion Date is Filter only BLANK AND PWC Schedule Completion Date everything before today.  Appreciate your help. 

Thanks

3 ACCEPTED SOLUTIONS
ryan_mayu
Super User
Super User

@naftycs 

maybe you can try this

calulate(countrows(table),filter(table, (overalstaus="Complete" || Overalstatus="In progress" or overalstatus ="") &&(isblank(completion date) || completiondate <today()))

 

pls clarify your logic, the relationship among conditions is AND or OR.

it will be better if you paste the sample data(not the screenshot) and provide the expected output.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

you are welcome





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

@Anonymous 

pls see the attachment below





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

11 REPLIES 11
Anonymous
Not applicable

I need the total count of Overdue, where Overall Status = "Completed" and "In progress" "(BLANKS) AND PWC Actual Completion Date is Filter only BLANK AND PWC Schedule Completion Date everything before <today. 

@Anonymous 

have you checked the attachment in my last reply?

the logic you provided is obviously wrong.

Condition 1:Overall Status is Completed OR In progress OR blank 

Condition 2: PWC actual completion date is BLANK OR before today

What's the logic between condition 1 and 2, OR or AND? I used AND in the pbix file i just provided.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

PWC Past Due = CALCULATE(COUNTROWS(Table_query__1),FILTER(Table_query__1,Table_query__1[Overall Status]="Completed"|| Table_query__1[Overall Status]="In-Progress"||Table_query__1[Overall Status]=BLANK()&& (ISBLANK(Table_query__1[PwC Actual Complete Date]||Table_query__1[PwC Actual Complete Date]<TODAY()))))
 
I am using this formula. That is not returing any value to me.

@Anonymous 

pls see the attachment below





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




ryan_mayu
Super User
Super User

@naftycs 

maybe you can try this

calulate(countrows(table),filter(table, (overalstaus="Complete" || Overalstatus="In progress" or overalstatus ="") &&(isblank(completion date) || completiondate <today()))

 

pls clarify your logic, the relationship among conditions is AND or OR.

it will be better if you paste the sample data(not the screenshot) and provide the expected output.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

The relationship among conditions is AND. Sorry I missed it last night. Thanks

Appreciate your help. 

you are welcome





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

Not yet. Still did not get any count.

@Anonymous 

are you using the different community account? 

if you are the poster, pls provide the sample data (not the screenshot). 

Then clarify the logics of conditions and provide the exptected output.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

I am using different community user id. 

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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