Forum Discussion
Slicer from result set
Yes, it is possible to create a slicer based on the result set of a table visual in Power BI. Here's how you can do it:
Create a table visual that contains the columns from Table A, Table B, and Table C that you need for your report.
Go to the "Visualizations" pane, and select the "Table" visual that you just created.
In the "Visualizations" pane, select the "Format" tab.
Under the "Table" section, turn on the "Include in Report Refresh" option.
Now, create a slicer based on the column that you want to filter from Table C.
With the slicer selected, go to the "Visualizations" pane, and select the "Format" tab.
Under the "Data" section, turn on the "Only Relevant Values" option.
This will ensure that the slicer only displays values that are relevant to the current filter context, which is based on the table visual. When you select a value in the slicer, the table visual will be filtered accordingly.
Note that this approach may not work if you have a very large dataset or if your table visual has many rows. In that case, you may want to consider using a direct query or live connection to your data source, or optimizing your data model to improve performance.
Best regards,
Isaac Chavarria
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Thank you for sharing the steps. Would you mind to share screenshots for each of the above steps you mentioned for the solution to build slicer from result set of a table visual for better understanding.