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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
sribmc
Helper I
Helper I

Dynamic table visible based on filter selection powerbi

Hi Team,

 

I have filters at top and need to get data table based on filter selection

 

A table contains aa,bb,cc,dd columns belongs to Atype Report and B table contains z1,z2,z3,z4 columns belongs to Btype report.

 

I have filter called select report which contains values of dropdown "Atype","Btype".When user selects A type I want to view table in below in tabular format:

 

Expected output :

 

1. Filter : Select Report dropdown: Atype

 

aa   bb   cc  dd 

1      4     7    8

2     5     9     10

3      6   11    12

 

2.Filter :Select Report dropdown:Btype 

 

z1   z2  z3  z4 

1      4     7    8

2     5     9     10

3      6   11    12

 

Also need on how to download when I click on download button on table.

Please help on above scenario ASAP.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @sribmc ,

In Bookmarks, choose bookmark Atype, choose "..." on the right side > Group:

vjunyantmsft_0-1720658131969.png

vjunyantmsft_1-1720658174096.png

Drag bookmark Btype into group 1:

vjunyantmsft_2-1720658241193.png

vjunyantmsft_3-1720658256249.png
Create and select the Bookmark navigator, in the Format navigator > Visual > Bookmarks > change "All" to "Group 1":

vjunyantmsft_4-1720658479417.png

And the final output is as below:

vjunyantmsft_5-1720658500852.png

 

Best Regards,
Dino Tao
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

5 REPLIES 5
Ray_Minds
Continued Contributor
Continued Contributor

Dynamic table visible based on filter selection powerbi
Step 1 - Imported the data as per given reference
Table : AType

Ray_Minds_0-1721318413880.png

Step 2
1.Created Calculated Table to use as Slicer in the Report
Calculation :-

Ray_Minds_1-1721318508289.png

Step 3 -Create Flag measure to use as Visual level filter

IsAtypeSelected = IF(SELECTEDVALUE(Slicer_Filter[Table Type]) = "AType", 1, 0)
IsBtypeSelected = IF(SELECTEDVALUE(Slicer_Filter[Table Type]) = "BType", 1, 0)

Ray_Minds_2-1721318575582.png

Step 4 Added table data in the Table Visualization

Ray_Minds_3-1721318587127.png

Step 5
Applied both measures like IsAtypeSelected and IsBtypeSelected in the Visual level
filter respectively the Table

Ray_Minds_4-1721318638473.png

For Table BType

Ray_Minds_5-1721318763282.png

If your requirement is solved, please make THIS ANSWER a SOLUTION ✔️ and help other users find the solution quickly. Please hit the LIKE 👍 button if this comment helps you.

 

sribmc
Helper I
Helper I

I want to hide book mark navigator here other than atype and btype they will other 4 bookmarks I want to hide 4 bookmarks and need to show only atype and btype how can we done this.

@Anonymous 

Anonymous
Not applicable

Hi @sribmc ,

In Bookmarks, choose bookmark Atype, choose "..." on the right side > Group:

vjunyantmsft_0-1720658131969.png

vjunyantmsft_1-1720658174096.png

Drag bookmark Btype into group 1:

vjunyantmsft_2-1720658241193.png

vjunyantmsft_3-1720658256249.png
Create and select the Bookmark navigator, in the Format navigator > Visual > Bookmarks > change "All" to "Group 1":

vjunyantmsft_4-1720658479417.png

And the final output is as below:

vjunyantmsft_5-1720658500852.png

 

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

Anonymous
Not applicable

Hi @sribmc ,

I'll address your first question first: how to toggle the display of table content. First of all, since you need to display two different data tables, you can't do it with just filter and slicer, you need to use bookmarks.
First, open these sections in the View:

vjunyantmsft_1-1720489885658.png
Place your two table visuals overlapping top and bottom in the report:

vjunyantmsft_0-1720489765637.png

In Selection, Set Table A visible and Table B invisible, and set the bookmark Atype in that state:

vjunyantmsft_2-1720490045827.png

Then, Set Table B visible and Table A invisible, and set the bookmark Btype in that state:

vjunyantmsft_3-1720490090113.png


Add a Bookmark nagivator in Insert > Buttons > Nagivator, and the final output is as below:

vjunyantmsft_4-1720490177295.pngvjunyantmsft_5-1720490183811.png


Then I don't quite understand what you mean by this phrase: "Also need on how to download when I click on download button on table.". This is the Power BI Desktop forum, there is no Download function or Download button in Power BI Desktop, could you please check if your question is correct, and perhaps you could attach your screenshot?
Maybe the Download you are referring to is a built-in feature of a custom visual, but since the custom visual is not supported by Microsoft's official documentation, maybe you need to contact the custom visual's development team for support.

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

sribmc
Helper I
Helper I

need help asap

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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