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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register 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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.