cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Penn Regular Visitor
Regular Visitor

How to filter a table before ALLSELECTED

Hi All,

 

How do I filter a table before using ALLSELECTED function?

 

Before:

ALLSELECTED('Orders')

 

Now I want to achieve: 

 

'Calendar'[Date] is a slicer on the page.

 
FILTER(ALLSELECTED('Customer Portal Orders'), AND('Customer Portal Orders'[Order date].[Date] >= MIN('Calendar'[Date]), 'Customer Portal Orders'[Order date].[Date] <= MAX('Calendar'[Date])))
 
Doesn't work the way that I expected. [Order date] outside of 'Calendar'[Date] is still showing.
 
Thanks.
1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: How to filter a table before ALLSELECTED

@Penn can you share sample data and what you are trying to achieve?

 

Also why you have .[Date] in your measure, remove that.






Did I answer your question? Mark my post as a solution.

Proud to be a Datanaut! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.





View solution in original post

2 REPLIES 2
Super User
Super User

Re: How to filter a table before ALLSELECTED

@Penn can you share sample data and what you are trying to achieve?

 

Also why you have .[Date] in your measure, remove that.






Did I answer your question? Mark my post as a solution.

Proud to be a Datanaut! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.





View solution in original post

Penn Regular Visitor
Regular Visitor

Re: How to filter a table before ALLSELECTED

Everything works when I was preparing the sample file, must be a stupid mistake somewhere, thanks

Helpful resources

Announcements
New Topics Started Badges Coming

New Topics Started Badges Coming

We're releasing new versions of the badge that everyone's talking about. ;) Check your inbox for notifications.

MBAS 2020

Save the new date (and location)!

Our business applications community is growing—so we needed a different venue, resulting in a new date and location. See you there!

Difinity Conference

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)