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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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