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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Red217
Helper III
Helper III

Filter with ALLSELECTED to ALL TABLES / SLICERS

Hi, 

 

is there a way to do a measure that has a filter with ALLSELECTED from all tabels ? , I have about 25 filters .

 

example of 1 filter:

CALCULATE(sumx('Table',[measure]),

FILTER(ALLSELECTED('DataBreach Filter Slicer'[Filter_Selection]),'DataBreach Filter Slicer'[Filter_Selection]=[DevDatabreachFilter value]),
 
I have about 25 filters, is there an easy way to combine them to get the value of measure WITH ALL SELECTED FILTERS? 
1 ACCEPTED SOLUTION
Anonymous
Not applicable

// Your measure needs to be built
// in a certain way.

calculate(
    [your measure - its full definition or its plain name here],
    allselected( facttable1 ),
    allselected( facttable2 ),
    ...
)

// As many facttables must be accounted for
// as there are dimensions affected and connected
// to them. Also, only the fact tables count
// which the measure in question depends on.

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

// Your measure needs to be built
// in a certain way.

calculate(
    [your measure - its full definition or its plain name here],
    allselected( facttable1 ),
    allselected( facttable2 ),
    ...
)

// As many facttables must be accounted for
// as there are dimensions affected and connected
// to them. Also, only the fact tables count
// which the measure in question depends on.

Thanks EXACTLY what i needed, 

 

THANK YOU !!!

Anonymous
Not applicable

Yes, there is but it also depends on the layout of your model. If you put ALLSELECTED( YourFactTable ) as a directive in CALCULATE(TABLE), it'll combine filters from all dimensions that are connected to your fact table by many-to-one (chain of) relationships.

Thank you,

  • How do I "figure out" what is the main selector ( slicer)?, currently when displaying my measure on the visual it literally has about 25 filters.... So where should I start?

Thank you 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.