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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
YunJ
Post Prodigy
Post Prodigy

Bar chart based on time filter

hi,

I'm wondering if I select filter 2020.04, can it show bar chart from 2020.01 to 2020.04?

 
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @YunJ ,

 

You can use "before and after" in advance filter.

2.PNG

 

Best Regards,

Jay

 

Community Support Team _ Jay Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
nandukrishnavs
Super User
Super User

@YunJ 

 

You could use default slicer and change its type as "before".

1.JPG



Did I answer your question? Mark my post as a solution!
Appreciate with a kudos
🙂


Regards,
Nandu Krishna

Thanks! But I also have 2019data... So I cannot simply use BEFORE. Also, I also want to show Year over Year value, so I cannot filter the data like that...

Anonymous
Not applicable

Hi @YunJ ,

 

You can use "before and after" in advance filter.

2.PNG

 

Best Regards,

Jay

 

Community Support Team _ Jay Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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