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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Create Calculated Table With Filters applied from Slicers

Hi, 

I am doing Direct Query report and trying to build a table. Is it possible to pass the slicer value to the summarize column table with selectedvalue ? Thanks 

 

VAR SelectedStore = SelectedValue (StoreTable[Name])

NewTable = 

SummarizeColumns ( Table1[Column1], 

                                    Table1[Column2],

                                    Table1[Column10]),

             FILTER (Table1, Table1[Column5] = SelectedStore,

             "SumSales" = Sum(Table1[Sales])

)

 

 

2 REPLIES 2
V-lianl-msft
Community Support
Community Support

Hi @Anonymous ,

 

The calculated table cannot be dynamic.

Perhaps you can use the if statement to create a measure to add filter conditions to the visual level filter.

 

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

amitchandak
Super User
Super User

@Anonymous , You can pass. but Table can not become dynamic if you change the value after that. Only table in measure Var is dynamic and will respond to slicer value

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors