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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors