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 September 15. Request your voucher.

Reply
Anonymous
Not applicable

Using All Except in Combination with Multiple Slicers

Hi,

I am trying to get a count of unresolved items that can be derived as follows.

User selects Contract and the Filter Month. 

 

Count would equal anything that is unresolved and created before the slicer date.

 

My problem is that the results page contains both trending data and this snapshot calculation so I can't just sync the slicer visuals between the menu and the results page. I have to ignore the date slicer somehow and have it lookup the user selected value to a date that I can use.

 

I have tried a few different measures using all except but can't seem to get the accurate count per contract per month and deal with the slicer/lookup date value issue.

 

bcobrien1977_0-1696520878388.png

Thanks!

 

 

 

 

3 REPLIES 3
Anonymous
Not applicable

Hi,

I still have not figured this out. Does anyone have any suggestions? In the end I just want the outstanding balance as of that date for the one contract? Thanks

Anonymous
Not applicable

Thanks, this is still not working as it would intended. 

Isn't there a simple way to use just all or keep filters to do this?  The box in step 1 is a text so this is making it more complicated.

I end up getting all of the contracts using a measure like this. 

 

 

TEST COUNT = calculate(count('Detail INC Aging'[Number]),ALLEXCEPT('Detail INC Aging','Detail INC Aging [Contract]))
 
I also don't seem to be able to take the selected slicer value and use that to filter on only that measure.
 
TEST ALL = calculate(count('Detail INC Aging'[Number]),KEEPFILTERS('Detail INC Aging'[Contract]=[Selected Slicer Value Contract))

 

amitchandak
Super User
Super User

@Anonymous , if the ignore means that you need a trend before the date, you need independent date table 

 

//Date1 is independent Date table, Date is joined with Table
new measure =
var _max = maxx(allselected(Date1),Date1[Date])
return
calculate( sum(Table[Value]), filter('Date', 'Date'[Date] <=_max))

 

 

If you need only value allexcept should work

 

Fact on "many" side and dim on one side

 

calculate([measure], allexcept(Fact, Date[Date]) )

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.