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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
jcasqueiro
New Member

Date filter

Good morning to all !

 

I have a SQL table with invoice dates but I want to create a filter based on year and month.

How can this be accomplished?

 

Thanks/Brgds

joao

1 ACCEPTED SOLUTION

If your information was being displayed in a table visualization, for example, you could also inclide a Slicer visual, and put your invoice date in the Field bin for that visual. If you then click on the Field bin to open the drop down list, select Group as the way to display your dates. This will open the Goups dialoge window, and from here you could, for example, set the Bin type to Months. Now change the display drop down in the visual itself from Between to List, and you'll have a filter that's based on your invoice date at a Month level.

 

Hopefully that made sense, and could be followed along as you do it.

Cheers,
Adam

View solution in original post

3 REPLIES 3
adamhubble
Advocate I
Advocate I

@jcasqueiro Do you mean you'd like to have a visual filter on your report that will allow filtering by Month and Year as one group (so invoices in April 2016, May 2016, June 2016 etc), or something else?

Cheers,
Adam

Yes Adam, that's it.

Thanks

j

If your information was being displayed in a table visualization, for example, you could also inclide a Slicer visual, and put your invoice date in the Field bin for that visual. If you then click on the Field bin to open the drop down list, select Group as the way to display your dates. This will open the Goups dialoge window, and from here you could, for example, set the Bin type to Months. Now change the display drop down in the visual itself from Between to List, and you'll have a filter that's based on your invoice date at a Month level.

 

Hopefully that made sense, and could be followed along as you do it.

Cheers,
Adam

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.