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
nicolast29
Helper V
Helper V

Get all row from a table based on calculated Formula

Hi

I read back the excellent book 5 The Definitive Guide to DAX-Business intelligence with Microsoft Excel, SQL Server Analysis Services, and Power BI, in order to review all the core concept after few years of practicing

 

I am on the evaluation context

I try something that i didn't arrive (see at the end after the explaination)

 

first, I have a matrix who calculated the sum of sales of all row with red color (on a simple example, and with a measure), it works great

nicolast29_0-1716974315599.png

Now i try to imagine how i can have on a second table the details for each row from the sales tables if i click for example on the cr3 =28 => Paris

I understand that it doesn't work because it is not a filter context apply when i do that

nicolast29_1-1716974399473.png

 

and of course if i add a slicer i have my result 

for example only red sales in Paris

nicolast29_2-1716974453300.png

 

 

so my question is, is it possible and how ho have the list of the row without the color slicer and if i click ok 28 (CR3) on paris in my matrix with a measure or ...

 

Here the file

test countrow.pbix

 

thanks

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi,@nicolast29 
I am glad to help you.

According to your description, you want to achieve the following effect in the matrix: dynamically filter the table in the matrix to display a row of data in the Sales table that corresponds to the selected metric (based on the MagKey rows and the filter criteria in the measure together, not only through the Magkey rows).

 

Unfortunately this is not possible, you can only filter another table by fields in the table (normal columns or calculate columns).

 

You can try to add [color] to the row field of the matrix (although this is similar to adding a Slicer)

like this:

vjtianmsft_0-1717037993871.png

I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.

Best Regards,

Carson Jian,

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

2 REPLIES 2
nicolast29
Helper V
Helper V

Thanks for the explanations

Anonymous
Not applicable

Hi,@nicolast29 
I am glad to help you.

According to your description, you want to achieve the following effect in the matrix: dynamically filter the table in the matrix to display a row of data in the Sales table that corresponds to the selected metric (based on the MagKey rows and the filter criteria in the measure together, not only through the Magkey rows).

 

Unfortunately this is not possible, you can only filter another table by fields in the table (normal columns or calculate columns).

 

You can try to add [color] to the row field of the matrix (although this is similar to adding a Slicer)

like this:

vjtianmsft_0-1717037993871.png

I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.

Best Regards,

Carson Jian,

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