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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
GAURAVG
Helper I
Helper I

Displaying data exclusive for one slicer and remove values of other slicer

Hello,

I have data which has Columns Year,Team,Item,Status,Cost. My requirement is that i have two slicers for the Year column and the user selects start year in one and end year in other. The final results table should show only those Items, which are exclusive to end year and were not part of start year. Also along with the items column,other columns should be displayed in the results table.

 

See below data for example: TABLE1

YEARTEAMITEMSTATUSVALUE
2020ACARsold100
2020APENCILunsold90
2020BBIKErejected250
2020CPENsold100
2021ACARsold100
2021BBOOKsold50
2021CSCOOTERunsold50
2022BBOOKrejected300
2022BLAPTOPrejected200
2022CTABLEsold100

 

So if slicer 1 is 2020 and slicer 2 is 2021, is hould in the results table see only this.

 

2021BBOOKsold50
2021CSCOOTERunsold50

**The "Car" row is common in both hence should be ommitted.

 

Note: I have made a table 2 with Distinct values of "Year" from table 1 and using that for slicer 1. But even with all DAX Commands like ALLEXCEPT,DISTINCT, i cant manage to solve this.

 

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @GAURAVG 
Please refer to attached sample file with the proposed solution

3.png

View solution in original post

3 REPLIES 3
GAURAVG
Helper I
Helper I

Thank you,worked perfectly well.

tamerj1
Super User
Super User

Hi @GAURAVG 
Please refer to attached sample file with the proposed solution

3.png

Hi tamerj1, 

Could you please explain to us why you have used 'ALL' in FilteredStartTable & it is not in FilteredEndTable? Thanks

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.