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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

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