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
sabeensp
Helper IV
Helper IV

ALLSELECTED with Multiple Slicer

Is there a way to to write ALLSELECTED DAX with multiple slicer values

 

Example:

Slicer 1 has Project Name (Project.projectname)

Slicer 2 has Project Manager (Team.ProjectManagre)

and so on

 

Can I do something like CACULATE(SUM(COST), ALLSELECTED(Project.projectname), ALLSELECTED(Team.ProjectManagre)) ?

4 REPLIES 4
Anonymous
Not applicable

Hi @sabeensp 

Not sure if you've got the solution for this. I know it's very late for the reply but I was in a similiar situation and what worked for me was using CALCULATE function, with two ALLSELECTED arguments, both from different tables. That did the trick for me: 

 

Total_JS_Ex_Industry = CALCULATE([NumberESSJobSeekers],
ALLSELECTED(ANSZIC[Industry]),
ALLSELECTED(Connect_Applicants[ApplicationStatus]))

 

Hopefully this helps

Anonymous
Not applicable

Hello. Have you ever been able to figure out a solution? I have a very similar question that no one seems to be able to answer!

v-jiascu-msft
Employee
Employee

Hi @sabeensp,

 

Could you please mark the proper answers as solutions?

 

 

Best Regards,

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

@sabeensp

 

Looks fine to me.

 

Even you can use ALLSELECTED() i.e. without any arguments/parameters

More details about this function in the link below

https://dax.guide/allselected/

 

 


Regards
Zubair

Please try my custom visuals

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.