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
PavelHanus
Frequent Visitor

filtering doesnt work when using allselected measure

I have a trouble to filter matrix by slicer with date from datetable, when I use function with allselected. 

Can anyone please help me explain the behaviour of the model?

Thanks in advance

 

More datails bellow:

I created simple model with 3 tables:

consumers

PavelHanus_1-1665579677962.png

 

Date

PavelHanus_2-1665579709453.png

factsales

PavelHanus_3-1665579734413.png

 

Model look like:

PavelHanus_4-1665579762239.png

 

Then I wrote two measures to find max order date for each consumer (see on picture below), once based on date from datetable, once based on orderdateDWID. Both Dont work as expected - one is showing all dates (using date to allselected) and second canot be filtered by date form date table (using orderdateDWID to allselected) 

 

PavelHanus_5-1665580139918.png

 

 

 

1 REPLY 1
Anonymous
Not applicable

Hi @PavelHanus ,

In order to better understand your demands and give the right solution, could you please share your pbix file after removing sensitive data?

Thanks for your efforts & time in advance.

 

Best regards,
Community Support Team_ Binbin Yu

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.