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! Request now

Reply
Ustinovdl
Helper I
Helper I

Use 2 filters in calculate

I need to Calculate some value with 2 filters:

allexcept(fileld1) and selected_filters.

How can I do it?

 

I want to get calculated value with one strict filter by field1 and all selected by user filters.

 

Thank you in advance!

4 REPLIES 4
vega
Resolver III
Resolver III

The CALCULATE function takes multiple filters as an argument. You can apply the different filters that you want in the 2nd, 3rd... argument.

I mean is there any “selected filters by user” function in dax?
Can I use thos filter with allexcept?

@Ustinovdl,

 

You may try to use ALLSELECTED Function.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

When you say “selected filters by user” do you mean like a slicer? All external slicers and filters in visuals are applied to a measure automatically unless you explicitly tell the measure to ignore filters.

 

If you are saying "How can I retain the filters that are already applied and add new ones?" you can do that by using the VALUES function in DAX.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.

Top Solution Authors