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
Raks
Helper III
Helper III

Slicer should not filter out particular column from the table

Hi,

Below is my dataset.

I am looking to create 2 measures 

Measure 1 = Calculte(Sum(Sales),filter(Sales Type)= "SMD" ---  This will work with all the slicers from the table

Measure 2 = Calculte(Sum(Sales),filter(Sales Type)= "SMD", filter(Maker) ="Pepsi"-- This works as above but slicer should not work for column Maker.

Measure 2 should not change when I select value from a slicer(Maker).

DateMakerCategorySales TypeSales
01/01/2022PepsiSDCVS12
01/01/2022MZSDSMD17
01/01/2022CZSDCVS17
01/01/2022CCSDSMD12
01/02/2022PepsiSDCVS19
01/02/2022MZSDSMD13
01/02/2022CZSDCVS14
01/02/2022CCSDSMD20
01/03/2022PepsiSDCVS16
01/03/2022MZSDSMD11
01/03/2022CZSDCVS14
01/03/2022CCSDSMD19
01/04/2022PepsiSDCVS19
01/04/2022PepsiSDSMD10
01/04/2022MZSDCVS17
01/04/2022CZSDSMD12
01/05/2022CCSDCVS11
01/05/2022PepsiSDSMD18
01/05/2022MZSDCVS19
01/05/2022CZSDSMD19
01/01/2022CCPPCVS10
01/01/2022PepsiPPSMD14
01/01/2022MZPPCVS15
01/01/2022CZPPSMD16
01/02/2022CCPPCVS19
01/02/2022PepsiPPSMD15
01/02/2022MZPPCVS14
01/02/2022CZPPSMD19
01/03/2022CCPPCVS20
01/03/2022PepsiPPSMD18
01/03/2022MZPPCVS19
01/03/2022CZPPSMD13
01/04/2022CCPPCVS20
01/04/2022PepsiPPSMD11
01/04/2022MZPPCVS11
01/04/2022CZPPSMD16
01/05/2022CCPPCVS12
01/05/2022PepsiPPSMD10
01/05/2022MZPPCVS10
01/05/2022CZPPSMD13

 

2 REPLIES 2
Raks
Helper III
Helper III

@VijayP ,

maker category is not a slicer instead its a filter condition

other measure = CALCULATE([Total Sales],ALLEXCEPT('Table','Table'[Category],'Table'[Sales Type])) condition here category = SMD
VijayP
Super User
Super User

@Raks 

Do you want this way file attached

 




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


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.