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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

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