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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
ArchStanton
Impactful Individual
Impactful Individual

Need to filter out blank end dates in measure

I have the following measure below that works but I need to modify it so it excludes any 'Closed' dates thatb are blank.

 

Cases Deferred YTD = 
                (TOTALYTD(COUNTA('Cases'[Total Deferrals]),
                'Cases'[createdon],
                "31/3"))

 

Any ideas how to do this? Everything I attempt doesn't work because intellisense only shows me other measures, whereas I need to filter out Blanks from another column.

 

The Column name is called Closed and its from the same Cases table.

 

Thanks

1 ACCEPTED SOLUTION
johnt75
Super User
Super User

Try

Cases Deferred YTD =
(
    TOTALYTD (
        COUNTA ( 'Cases'[Total Deferrals] ),
        'Cases'[createdon],
        NOT ISBLANK ( 'Cases'[Closed] ),
        "31/3"
    )
)

View solution in original post

2 REPLIES 2
johnt75
Super User
Super User

Try

Cases Deferred YTD =
(
    TOTALYTD (
        COUNTA ( 'Cases'[Total Deferrals] ),
        'Cases'[createdon],
        NOT ISBLANK ( 'Cases'[Closed] ),
        "31/3"
    )
)
ArchStanton
Impactful Individual
Impactful Individual

Perfect, thank you so much!!!!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors