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
Anonymous
Not applicable

Creating a secondary "primary" date filter

Hello Community   -   Was not sure how to title my "subject" but I'll explain what I am trying to do: 

 

Essentially, I have a date table and a fact table with the primary (active) relationship between "date" and "received date".   

 

I can filter an entire page by using the "date" value in a slicer on the page itself.   This of course filters everything by the received date.    What I would like to be able to do, is to have another slicer on the page, this one would be "start date".   

 

I would like the user to be able to globally filter the page by either one of these slicers  (both dates appear in the fact table).    Is this possible using something like USERELATIONSHIP?

 

 

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous ,

 

Not sure if I understand you correctly, but normally we could simply use SELECTEDVALUE() or VALUES() function to get the value of slicers which means you don't need relationships between tables.

 

Best Regards,

Jay

amitchandak
Super User
Super User

@Anonymous , if the start date and date have inactive relation, then you can use userelationship and the date filter will apply there too.

 

if you need all together different date than what you have in date, you can filter start date itself or have another date table.

 

refer: https://radacad.com/userelationship-or-role-playing-dimension-dealing-with-inactive-relationships-in-power-bi

https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-trend/ba-p/882970

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
Anonymous
Not applicable

Yes, thanks.   I was hoping for a solution that allowed a global filter with the inactive date.   The normal method means that for every new measure or calc column you would have to use the userelationship function each time.   The other method is just duplicating the table and creating an active relationship against the other date column I want to use.    So you end up with two exactly same tables, but each connected to the date table on different dates.    

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.

Top Solution Authors