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
Anonymous
Not applicable

Interactive Visuals

My situation is more complex than this, but I'll keep it simple.  I have 2 visuals in a report, show below in the screen shot (just using Excel as an example).  Obviously, the standard behavior would be that if I click on a row in the top table that the bottom table would show the Level I selected and a count of 1.  Is it possible to set the interactions so that the bottom table is only filtered by the Level and not the Room?  I want to be able to click on any of the records for Level = Main in the top table and have the bottom table show Level = Main and Room Count  = 3.

 

ADB8335_0-1716233358518.png

 

Thanks for the help.

2 ACCEPTED SOLUTIONS
MattAllington
Community Champion
Community Champion

Your room count measure needs to be written to ignore filters on the room column. Something like

CALCULATE(countrows(tablename),all(tablename[room]))



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

View solution in original post

Anonymous
Not applicable

Hi @Anonymous ,

 

Thanks for the reply from MattAllington .

 

First, create a measure to calculate the Count of each Level:

Room Count = CALCULATE(COUNTROWS('Room'),ALLEXCEPT(Room,'Room'[Level]))

 

The page effect at this time is as follows:

vhuijieymsft_0-1716257544004.png

 

Select the table above, select the Format tab, turn on Edit interactions, and make sure that the tables below are affected by the table above, that is, make sure they have interactions turned on.

vhuijieymsft_1-1716257544006.png

 

Make sure they have interactions enabled and then turn off Edit interactions.

 

At this point, select any record in the top table that has Level = Main, and the bottom table shows Level = Main and Room Count = 3.

 

The final page effect is as follows:

vhuijieymsft_2-1716257601797.png

vhuijieymsft_3-1716257601798.png

 

pbix file is attached.

 

If you have any further questions please feel free to contact me.

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

 

Thanks for the reply from MattAllington .

 

First, create a measure to calculate the Count of each Level:

Room Count = CALCULATE(COUNTROWS('Room'),ALLEXCEPT(Room,'Room'[Level]))

 

The page effect at this time is as follows:

vhuijieymsft_0-1716257544004.png

 

Select the table above, select the Format tab, turn on Edit interactions, and make sure that the tables below are affected by the table above, that is, make sure they have interactions turned on.

vhuijieymsft_1-1716257544006.png

 

Make sure they have interactions enabled and then turn off Edit interactions.

 

At this point, select any record in the top table that has Level = Main, and the bottom table shows Level = Main and Room Count = 3.

 

The final page effect is as follows:

vhuijieymsft_2-1716257601797.png

vhuijieymsft_3-1716257601798.png

 

pbix file is attached.

 

If you have any further questions please feel free to contact me.

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

MattAllington
Community Champion
Community Champion

Your room count measure needs to be written to ignore filters on the room column. Something like

CALCULATE(countrows(tablename),all(tablename[room]))



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

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