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
Txtcher
Resolver I
Resolver I

How To Create A Count With Multiple Filters

I have been tasked with coming up with a backlog report which provides a count of backlogged RS Cases by 2 different counts (Program and Region).

I have 3 tables:

Txtcher_0-1748561112159.png

A RS Case record contains a Sent to Region date, a Due Date, Status Change Date and a Status field.

A RS Case is considered backlog if any of the following conditions are true:

RS Case [Sent to Region] <> null && RS Case [Due Date] < Date_Table[Date] && RS Case [Status]="OPEN"
or
RS Case [Sent to Region] <> null && RS Case [Due Date] < Date_Table[Date] && RS Case [Status]="CLOSED" && RS Event [Survey Date] > Date_Table[Date] 
or
RS Case [Sent to Region] <> null && RS Case [Due Date] < Date_Table[Date] && RS Event [Survey Date] = null && RS Case [Status]="CLOSED" && RS Case [Status Change Date] > Date_Table[Date]

What we want is to create a line chart showing how the backlogged cases have progressed.

I know I can create a measure that summarizes the RS Cases table and then add filters, but I cannot add the field into the filter that refers to the RS Event table.

Is there a way to create this count? Or will I have to merge the tables into a single table to get the Survey Date? I wanted to avoid this because it takes forever to merge in PQ

Here is some sample data:

RS CaseRS Event IDRegionProgramReceived DateSent to Region StatusStatus Change DateDue By
1006300 06Nursing04/29/202504/29/2025OPEN04/29/202505/17/2025
572025 06Nursing03/21/202503/24/2025OPEN03/24/202504/11/2025
568312 04DAHS-ISSONLY03/04/202503/05/2025OPEN03/05/202503/19/2025
1000621a2heq000000HliTAAS03Assisted Living04/01/202504/04/2025CLOSED05/22/202505/19/2025
567516a2heq000000GkdBAAS05Assisted Living02/27/202503/03/2025CLOSED05/05/202504/17/2025

 

RS Event IDRS EventSurvey Date
a2heq000000HliTAASEVT-0000495238 
a2heq000000GkdBAASEVT-000049373405/01/2025

 

See RS Case 567516. Its Due Date was 4/17/2025. The Survey Date was not until 5/1/2025. If we were counting backlog as of 4/30/2025, this case would be counted as backlog because the Survey Date was greater than 4/30/2025.

I thank you in advance if you can help.

 

1 ACCEPTED SOLUTION
v-pnaroju-msft
Community Support
Community Support

Hi @Txtcher,

We appreciate your inquiry on the Microsoft Fabric Community Forum.

Based on my understanding, there is no requirement to flatten or merge tables in Power Query. The backlog report can be generated directly in Power BI using DAX and relationships.

Please find attached the screenshot and PBIX file which may assist in resolving the issue:

vpnarojumsft_0-1748841528953.png

 

If you find our response helpful, kindly mark it as the accepted solution and provide kudos. This will help other community members facing similar queries.

Should you have any further questions, please feel free to contact the Microsoft Fabric community.

Thank you.

View solution in original post

1 REPLY 1
v-pnaroju-msft
Community Support
Community Support

Hi @Txtcher,

We appreciate your inquiry on the Microsoft Fabric Community Forum.

Based on my understanding, there is no requirement to flatten or merge tables in Power Query. The backlog report can be generated directly in Power BI using DAX and relationships.

Please find attached the screenshot and PBIX file which may assist in resolving the issue:

vpnarojumsft_0-1748841528953.png

 

If you find our response helpful, kindly mark it as the accepted solution and provide kudos. This will help other community members facing similar queries.

Should you have any further questions, please feel free to contact the Microsoft Fabric community.

Thank you.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.