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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Dynamic Case Status and Aging

Hi,

I am trying to create a measure that will be used in an aging table that will tell me the number of "cases" that are Open that works dynamically based on the Date Filter.

CaseDateStatusCost
A1/1/2021Open10
B1/1/2021Open10
A1/4/2021Open20
A1/6/2021Close0
B1/7/2021Open20
B1/12/2021Close10

Here is a sample dataset:

 

Here are the results I'm looking for in 3 different Date Filter scenarios:

Date Filter = 1/2/2021   
Case0-56-1010+
A1  
B1  

 

Date Filter = 1/7/2021   
Case0-56-1010+
A   
B 1 

 

Date Filter = 1/12/2021   
Case0-56-1010+
A   
B   

 

 

This one is a little bit of a head scratcher to me, any help would be greatly appreciated.

 

Thanks!

Dan

2 REPLIES 2
Stachu
Community Champion
Community Champion

is this supposed to be a Matrix visual or set of 3 measures 0-5, 6-10, 10+?
Another question is regarding blanks - because of auto-exist feature DAX doesn't show the rows that have no data (like your third example), would it be an issue if it was just empty table?



Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

Anonymous
Not applicable

@Stachu This would be a matrix visual so one measure. If there is no data, then I would like for it to be an empty table.

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors