Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
Anonymous
Not applicable

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
Arentir
Resolver III
Resolver III

Hi @Anonymous,

 

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
March PBI video - carousel

Power BI Monthly Update - March 2025

Check out the March 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors