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
Roseventura
Responsive Resident
Responsive Resident

Different Results when using Filter slicer vs Filter()

Anyone know why my totals would differ when I use a filter slicer to select a Branch (for instance) versus using a calculate function with a Filter() function to filter out that same Branch?

 

For instance, say I have these Branches:  East, West, South, North

 

I have a slicer that allows me to select either one or several of these branches.  Let's say I select EAST.  My Sales total will show as $77,364.28.

 

However, if I use this measure:  Total EAST Sales = calculate([total sales], filter('UsageDetails', 'UsageDetails'[Branch]="EAST")), the total comes to $75,292.13.

 

Any ideas?

 

 

 

 

3 REPLIES 3
mmace1
Impactful Individual
Impactful Individual

Is your slicer based on the same table your CALCLUATE function is using?  I.e, is your slicer based on the branch info in the 'UsageDetails' table? 

Yes.  So far in this report I only have one fact table.  No lookup tables.  All fields are in the UsageDetails table.

 

Rose

 

mmace1
Impactful Individual
Impactful Individual

Is the data small enough that you can copy to Excel to manually filter & see which of the 2 answers is correct? 

 

Not that that would answer *why*, but just as a step. 

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.