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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
cepiolot
Frequent Visitor

Timebrush default time selection

I'm trying to get the Timebrush Visual from the Visual Gallery to automatically select the last two weeks of data to filter when the report is loaded. Originally, I used a visual level filter to filter time on a separate graph, however the timebrush and the visual level filter have proven not to work well together. Whatever I do, I cannot timebrush more than 2 weeks if the visual level filter is set to only display the last 2 weeks. For this reason, I wanted to get rid of the visual level filter enitrely and just have a default timebrush selection when the report loads. Is this possible?

Thanks,

Darcy

1 ACCEPTED SOLUTION
v-sihou-msft
Microsoft Employee
Microsoft Employee

@cepiolot

 

When you add visual level filter, the context is limited to two weeks range only so that you can't select more that two weeks in slicer. However, it's not supported to set default selection for any type of slicer visual currently. For your requirement, you can create a calculated column column to tag if the date is within last 2 weeks. Then put the tag column into a slicer for selection.

 

IsWithinTwoWeeks =
IF ( Table[Date] >= ( TODAY () - 14 ), 1, 0 )

Regards,

 

View solution in original post

1 REPLY 1
v-sihou-msft
Microsoft Employee
Microsoft Employee

@cepiolot

 

When you add visual level filter, the context is limited to two weeks range only so that you can't select more that two weeks in slicer. However, it's not supported to set default selection for any type of slicer visual currently. For your requirement, you can create a calculated column column to tag if the date is within last 2 weeks. Then put the tag column into a slicer for selection.

 

IsWithinTwoWeeks =
IF ( Table[Date] >= ( TODAY () - 14 ), 1, 0 )

Regards,

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors