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
dsilveira
Advocate I
Advocate I

Timeline slicer default to previous day

Hi everyone!
I have a timeline that allow to show me all my sales since 2002 day to day, but the most important day for me is "Yesterday" I would like show by default this value in my timeline. (To select that day ("yesterday") in all these day is tricky because it is at the end of the list). Or maybe the solution is order the timeline desc, and in this case "yesterday" is at the begining of the list.

 

Thanks in advance

1 ACCEPTED SOLUTION


@dsilveira wrote:

Thanks @KHorseman

For the moment I'm using your solution, but really I would like work with the timeline because in some moments I like check the sales in the last month or maybe the last year or last week (I would like see in other range of time, BUT I usually check "yesterday").

For that, I would like keep the timeline and its functionalities.

 


Then just keep the timeline as it is. If you usually check "yesterday", create a measure and put it in an individual visual constantly, then you don't have to check "yesterday" any more. You can check the sales in last week,month,year and it won't affect the "yesterday" visual.

 

A measure based on a calendar table from @KHorseman would be like

 

Yesterday Measure =
CALCULATE (
    SUM ( yourTable[Column] ),
    FILTER ( ALL ( yourTable), RELATED ( DateTable[Day] ) = "yesterday" )
)

 

View solution in original post

12 REPLIES 12

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.