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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Haydn_R
Helper I
Helper I

Filter on name but not by date between 2 matrixs

Using desktop powerbi I have the following columns in a martix visual.

1. ‘LLAC_TFR_TRENDS’[Calls]
2. ‘Distinct Week Ending Date’[Week Ending]
3. 'QUEUE_CD'[Queue]

 

In the another matrix visual I have the following columns

1. ‘LLAC_TFR_TRENDS’[Calls]
2. ‘Distinct Week Ending Date’[Week Ending]
3. ‘TRANFERS_TRENDS’[Transfer X %]
4. ‘TRANFERS_TRENDS’[Transfers_X]
5. 'QUEUE_CD'[Queue]

 

 

Requirement:

When I select a value for Queue_CD it is also for a Week Ending, but I want to show all Week Ending for that Queue_CD in the second matrix.

Below is an example of visual 1. If I select Queue1 for 28/04/2024, please see the table below as to the desired result

Week EndingQueueCalls
28/04/2024Queue1500
21/04/2024Queue2400
21/04/2024Queue1100
14/04/2024Queue1250
7/04/2024Queue18
31/03/2024Queue17
24/03/2024Queue1300
17/03/2024Queue1450

 

Here and example of the result I want to achieve. So I select Queue1 for 28/04/2024, but the table below will show all Week Ending dates for Queue1

 

Week EndingCallsTransfersTransfer%
28/04/202450061.20%
21/04/20241007676.00%
14/04/20242506124.40%
7/04/20248337.50%
31/03/20247571.43%
24/03/20243005016.67%
17/03/20244504910.89%
1 ACCEPTED SOLUTION
v-linyulu-msft
Community Support
Community Support

Hi,@Haydn_R 

Regarding the issue you raised, my solution is as follows:

1.First I have created the following table and the column names and data are the data you have given:

vlinyulumsft_0-1714728170417.png

vlinyulumsft_1-1714728184913.png

vlinyulumsft_2-1714728209211.png

2.First of all, there is no way for us to fulfill your requirement for the time being, because once there is a relationship between the tables, then the filtering case is inevitably fulfilled when we use the matrix view for selection, as shown in the figure below:

vlinyulumsft_3-1714728227871.png

vlinyulumsft_4-1714728236839.png

3.So in cases where there is a relationship between tables, I would recommend using the slicer :

vlinyulumsft_5-1714728258759.png

4.If you still need to realize your needs by clicking in the matrix, we recommend that you create a table with no relationship and then implement it through the DAX function:

vlinyulumsft_6-1714728282581.png

 

Measure = IF(MAX('Table'[Queue])=MAX('QUEUE_CD'[Queue]),1,0)

 

vlinyulumsft_7-1714728309491.png

5.Here's my final result, which I hope meets your requirements.

vlinyulumsft_8-1714728327970.png

vlinyulumsft_9-1714728334932.png

Can you share sample data and sample output in tabular format if I am misunderstanding? Or a sample pbix after removing sensitive data. We can better understand the problem and help you.

Best Regards,

Leroy Lu

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

1 REPLY 1
v-linyulu-msft
Community Support
Community Support

Hi,@Haydn_R 

Regarding the issue you raised, my solution is as follows:

1.First I have created the following table and the column names and data are the data you have given:

vlinyulumsft_0-1714728170417.png

vlinyulumsft_1-1714728184913.png

vlinyulumsft_2-1714728209211.png

2.First of all, there is no way for us to fulfill your requirement for the time being, because once there is a relationship between the tables, then the filtering case is inevitably fulfilled when we use the matrix view for selection, as shown in the figure below:

vlinyulumsft_3-1714728227871.png

vlinyulumsft_4-1714728236839.png

3.So in cases where there is a relationship between tables, I would recommend using the slicer :

vlinyulumsft_5-1714728258759.png

4.If you still need to realize your needs by clicking in the matrix, we recommend that you create a table with no relationship and then implement it through the DAX function:

vlinyulumsft_6-1714728282581.png

 

Measure = IF(MAX('Table'[Queue])=MAX('QUEUE_CD'[Queue]),1,0)

 

vlinyulumsft_7-1714728309491.png

5.Here's my final result, which I hope meets your requirements.

vlinyulumsft_8-1714728327970.png

vlinyulumsft_9-1714728334932.png

Can you share sample data and sample output in tabular format if I am misunderstanding? Or a sample pbix after removing sensitive data. We can better understand the problem and help you.

Best Regards,

Leroy Lu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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 MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.