cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Two Date Filters(slicers)

I have a table I created and it has two dates in it:   Created and Modified.

 

I have a single page of visuals.    I Know I can create two slicers for the dates but I would like the user to only have to change the date on one slicer.   Then Depending on the visual use either Created or Modified dates depending on visual.   

 

Any thoughts on best way to do this.   Can I hide a slicer B and base its values on Slicer A?

 

Thanks in Advance,

Justin

1 REPLY 1
Highlighted
Resolver II
Resolver II

Re: Two Date Filters(slicers)

Hi @jwhitf4770,

 

I would suggest to have a separate date table. You create two relationships to created and modified date.

Only one can be active. But you can then create measures that use the relationship of choice.

For example:

CALCULATE(

             SUM(Amount),

             USERELATIONSHIP(MainTable[CreatedDate],Calendar[Date])

                  )

 

Hope this helps (and works ^^)

Helpful resources

Announcements
Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors