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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Do not see any count in measure

Hello:

I have used the following Formula:

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" && BLANK())&&ISBLANK(Table_query__1[PwC Actual Complete Date])||Table_query__1[PwC Actual Complete Date]<TODAY()))
Could not see any result. 
I want to create a measur for : In progress Count  = Overall Status column = "Complete", "in progress", "(Blanks)" AND PWC Actaul Completion Date  colum Filter out only  "(Blanks)". AND PWC Schedule Completion Date filter out before Today <=TODAY()
 
Appreciate your help.
Thanks
 
1 ACCEPTED SOLUTION
v-zhangti
Community Support
Community Support

Hi, @Anonymous 

 

I have simulated some data, you can try the following methods.

vzhangti_0-1656064061932.png

PWC Past Due = 
CALCULATE (
    COUNTROWS ( Table_query__1 ),
    FILTER (
        ALL ( Table_query__1 ),
        Table_query__1[Overall Status] = "Completed"
            || Table_query__1[Overall Status] = "In-Progress"
                && BLANK ()
                && (
                    SELECTEDVALUE ( Table_query__1[PwC Actual Complete Date] ) <> BLANK ()
                        || SELECTEDVALUE ( Table_query__1[PwC Actual Complete Date] ) < TODAY ()
                )
    )
)

vzhangti_1-1656064099867.png

Does getting this result in this data match the output you want?

 

Best Regards,

Community Support Team _Charlotte

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

2 REPLIES 2
v-zhangti
Community Support
Community Support

Hi, @Anonymous 

 

I have simulated some data, you can try the following methods.

vzhangti_0-1656064061932.png

PWC Past Due = 
CALCULATE (
    COUNTROWS ( Table_query__1 ),
    FILTER (
        ALL ( Table_query__1 ),
        Table_query__1[Overall Status] = "Completed"
            || Table_query__1[Overall Status] = "In-Progress"
                && BLANK ()
                && (
                    SELECTEDVALUE ( Table_query__1[PwC Actual Complete Date] ) <> BLANK ()
                        || SELECTEDVALUE ( Table_query__1[PwC Actual Complete Date] ) < TODAY ()
                )
    )
)

vzhangti_1-1656064099867.png

Does getting this result in this data match the output you want?

 

Best Regards,

Community Support Team _Charlotte

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

amitchandak
Super User
Super User

@Anonymous , Try like

PWC Past Due = CALCULATE(COUNTROWS(Table_query__1),
FILTER(Table_query__1,(Table_query__1[Overall Status] in {"Completed", "In-Progress"} || isblank(Table_query__1[Overall Status]))
&& ISBLANK(Table_query__1[PwC Actual Complete Date]) || Table_query__1[PwC Actual Complete Date]<TODAY()))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors