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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Adidas
Helper I
Helper I

Calculating a dynamic table based on a slicer selection

Hi all.
I'm trying to calculate a dynamic table with Dax, Based on an existing table with a slicer over it.
The new calculated table should contain only the values left by the slicer.
For example:
This is the original full table1:

Adidas_0-1607504206378.png


choosing these values in slicer should populate a new table with these unique values only:

Adidas_1-1607504266601.png

 

I don't want to use a visual's filter above the calculated table.
I want the Dax to directly calculate only the valid values.
Thanks

1 REPLY 1
MattAllington
Community Champion
Community Champion

There are 2 types of tables; visual tables in a report and data tables in the model. You cannot use a slicer to influence the creation of a data table in a model. 



* 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.