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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
JMB82
Frequent Visitor

Calculating Past Active Matters

Hello,

 

Needing some help. I am trying to determine the amount of past active matters. What I mean by past active matters is matters that were open in previous fiscal years and not yet been resolved. In my data set I have an Open Date and Resolution Date, so for Past Active, the open date would need to be prior to the selected fiscal year and the resolution date would need to be blank.

 

Thanks!

1 ACCEPTED SOLUTION

Hi @JMB82 

Please check below measure.If it's not your case,could you simplified your sample data and explain more about your expected output?For further,please refer to How to Get Your Question Answered Quickly

 

Measure =
CALCULATE (
    DISTINCTCOUNT ( Table1[Matters] ),
    FILTER (
        Table1,
        Table1[Open Date] <= MAX ( Dates[Date] )
            && Table1[Resolution Date] = BLANK ()
    )
)

Regards,

 

Community Support Team _ Cherie Chen
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

3 REPLIES 3
v-cherch-msft
Microsoft Employee
Microsoft Employee

Hi @JMB82 

You may create a slicer table to select the year.Then create a measure like below.Attached sample file for your reference.

Measure =
CALCULATE (
    SUM ( Table1[Amount] ),
    FILTER (
        ALL ( Table1 ),
        Table1[Year]
            = SELECTEDVALUE ( 'Table'[Year] ) - 1
            && Table1[Resolution Date] = BLANK ()
    )
)

Regards,

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for your response Cherie Chen. Not quite exactly what I need. Here is what my data looks like and what I have written so far.  The formula below isn't correct, it just brings back 1 number for all the years.

 

Matter listMatter list

 

Dates TableDates Table

 

 

FYPastActiveMatters = CALCULATE(

    DISTINCTCOUNT('�All Matters FY'[Matter #]),

    FILTER (

        ALL ( 'Dates'[Date] ), Year(Dates[Date] ) <= MAX ('Dates'[FYKEY] )), ISBLANK('�All Matters FY'[Resolution Date]))

 

 

Hi @JMB82 

Please check below measure.If it's not your case,could you simplified your sample data and explain more about your expected output?For further,please refer to How to Get Your Question Answered Quickly

 

Measure =
CALCULATE (
    DISTINCTCOUNT ( Table1[Matters] ),
    FILTER (
        Table1,
        Table1[Open Date] <= MAX ( Dates[Date] )
            && Table1[Resolution Date] = BLANK ()
    )
)

Regards,

 

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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