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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
HS_PDS
Frequent Visitor

Table Resize based off filter selection

Is it possible to automatically resize a table based off the filter selection(s). For example, if we select two states (Alabama & Alaska) from the filter dropdown , would PBI be able to dynamically resize to only show those two , sans white space?

 

Basically the end table would be resized to the red outlined table below? Can PBI do anything liek that? 

 

PBI Table Resize Example.jpg

1 ACCEPTED SOLUTION

Hi @HS_PDS ,

If you create the slicer and select the item in the slicer to filter the data, the actual data tables will not be filtered in data view. Only the visual in the Report view will be filtered by the slicer.

Untitled.png

If you want to filtered to the actual table, you could select the options in dropdown in query editor like below.

filter rows.png

Hope this can help you.

Best  Regards,

Cherry

 

Community Support Team _ Cherry Gao
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

4 REPLIES 4
Anonymous
Not applicable

Hi @HS_PDS  ,

Yes, that is definitely possible.

 

You just need to create a visual called a Slicer.

Capture9.JPG

 

Then, drag your STATE column in the Field section.

 

Finally, in the Format Panel > Selection Control > Turn Off Single Select 

 

Capture.JPG

 

Let me know how it goes.

 

Cheers,
Robin

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

Thanks for multi - select slicer tip Robin, 

 

I added that into my report , but was wondering if the actual table dimensions would resize based off the selection. 

 

Basically the border would resize and remove any whitespace and automatically shift up the table below. Not even sure if PBI has this capabilities or if theres any workarounds 

 

See the example below: 

 

PBI Table Resize Example2.jpg

Hi @HS_PDS ,

Have you solved your problem?

If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

If you still need help, feel free to ask.

Best  Regards,

Cherry

 

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @HS_PDS ,

If you create the slicer and select the item in the slicer to filter the data, the actual data tables will not be filtered in data view. Only the visual in the Report view will be filtered by the slicer.

Untitled.png

If you want to filtered to the actual table, you could select the options in dropdown in query editor like below.

filter rows.png

Hope this can help you.

Best  Regards,

Cherry

 

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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