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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
ArchStanton
Post Prodigy
Post Prodigy

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"
    )
)

Perfect, thank you so much!!!!

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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