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
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
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 Fabric 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.