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
khajvd
Regular Visitor

PowerBI Interactive filter in filter Pan

Hello,

 

I have two date filter in filter pan, 'sales date' and 'order date'. what i want to achive if i select any date from sales date then order date filter should hide or it should not show any value. same should happen while selecting any date from order date.

 

basically we want to give user to have ability to select only one date at a time. any way to achive this?

filter.PNG

Thanks,

2 REPLIES 2
Anonymous
Not applicable

Hi @khajvd,

 

If you create a date table (see link provided) you should be able to create a relationship between [SalesDate] and the date table and also between [OrderDate] and the date table. If both columns have a relationship with the date table you can create a slicer where you use the date table and that way you can filter both salesdate and orderdate at the same time with 1 slicer.

 

On this website they explain how to create a date table:

https://www.archerpoint.com/blog/Posts/creating-date-table-power-bi

 

On this website they explain how to create a relationship:

https://docs.microsoft.com/en-us/power-bi/desktop-create-and-manage-relationships

 

I hope this answers your question.

 

Best regards,

L.Meijdam

@Anonymous Actually what i wanted to achive if i select any value from sales date then order date value should hide. and if i select any value from order date then sales date value shoud hide.

In my case both the table are connected with the fact table. and the method you mention conneting date table with both the table is not possible as with one table we can not reach to the fact table in two diffrent path.

 

Thanks,

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.