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
jwhitf4770
Helper I
Helper I

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 @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
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.