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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
vipulpoplipower
Regular Visitor

Can I change rows depending on the slicer value in matrix visualization

I am creating the matrix visulization where i need to change rows dynamically based on value from slicer or filter.

 

1 ACCEPTED SOLUTION
v-xulin-mstf
Community Support
Community Support

Hi @vipulpoplipower

 

You can create measures with ALLSELLECTED function.

Here is a sample:

Measure1 = 
CALCULATE(
    MAX('Table2'[Value]),
    ALLSELECTED('Table2'[ID]))

vxulinmstf_0-1624253863527.png

 

If you still have some question, please don't hesitate to let me known.‌‌

 

Best Regards,

Link

 

Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!

 

 

View solution in original post

1 REPLY 1
v-xulin-mstf
Community Support
Community Support

Hi @vipulpoplipower

 

You can create measures with ALLSELLECTED function.

Here is a sample:

Measure1 = 
CALCULATE(
    MAX('Table2'[Value]),
    ALLSELECTED('Table2'[ID]))

vxulinmstf_0-1624253863527.png

 

If you still have some question, please don't hesitate to let me known.‌‌

 

Best Regards,

Link

 

Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!

 

 

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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 Kudoed Authors