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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
cebd_31
Regular Visitor

ALLSELECTED and ALLEXCEPT Together?

Hello Community,

 

I wanted to see if its possible to create a Calculation that allows me to do the following:

 

When filtering By Name in a Slicer, I want the percentage to be shown respective to the Name of the Person Selected on the Slicer and be a Percentage calculated by Individual, not a Percentage of total:

 

Without filtering in the slicer I am getting:

 

Chart 1.png

 

When Filtering I am getting a the percentage of the TOTAL amount that it represents:

 

Chart 2.png

 

Instead I would like it to be the Percentage of the Orders by Name.

 

 

I have the below calculation:

 

% PD = DIVIDE(COUNT(Table2[Open Purchases Days Past Statistical Ship Date]),CALCULATE(COUNT(Table2[Open Purchases Days Past Statistical Ship Date]),ALLEXCEPT(Table2,Table2[Refresh_TimeStamp].[Day])))
 
Any help will be appreciated.
1 ACCEPTED SOLUTION
DavisBI
Solution Specialist
Solution Specialist

Hi, @cebd_31 ,

 

Based on the information you provide, you just need to add the "Name" to AllExcept()

 

% PD = DIVIDE(COUNT(Table2[Open Purchases Days Past Statistical Ship Date]),CALCULATE(COUNT(Table2[Open Purchases Days Past Statistical Ship Date]),ALLEXCEPT(Table2,Table2[Refresh_TimeStamp].[Day],<name>)))

  

Mark this post as solution if this helps, thanks!

View solution in original post

1 REPLY 1
DavisBI
Solution Specialist
Solution Specialist

Hi, @cebd_31 ,

 

Based on the information you provide, you just need to add the "Name" to AllExcept()

 

% PD = DIVIDE(COUNT(Table2[Open Purchases Days Past Statistical Ship Date]),CALCULATE(COUNT(Table2[Open Purchases Days Past Statistical Ship Date]),ALLEXCEPT(Table2,Table2[Refresh_TimeStamp].[Day],<name>)))

  

Mark this post as solution if this helps, thanks!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.