Is there any idea in power bi show/hide column based on some criteria.
In SSRS it is possible using Column Visibility functinality which allows to hide or show column dynamically based on parameter value.
The solution we use is to create 2 tables, one with the column(s) and one without.
Then create a Bookmark for each state, ie one shows the table with all the columns and hides the limited table, then reverse for the other bookmark.
Place the two tables on top of each other and use a slicer / button etc to switch between the bookmark views.
To ensure filters are retained when changing between bookmarks, right click both bookmarks and deselect data.