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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Jack_Scallan
Regular Visitor

Filter 4 table visuals by incremental months

Hi,

 

I have 4 table visuals. Each table displays my quantity of stock ('Table A'[Quantity]), the demand from my customers ('Table B'[Demand]) and how much stock I should have leftover which is a measure [Quantity] - [Demand] = ('Table A'[Stock]).

 

The issue is that I want to filter table visual 1 by month and have the other tables filter by the following month. 

 

So if I filter table visual 1 by January, then table two should filter by February, table three should filter by March, and table four should filter by April.

 

Both Table A and Table B have a relationship to the Date table through 'Table A'[DueDate], 'Table B'[DueDate] and Date.

 

Please let me know if any additional information is required.

 

Many thanks,

 

Jack

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Jack_Scallan ,

 

Do you want to show incremental months in four table visuals ? If you want to do this, I suggest you to create an unrelated Date table to help. If you create relationship between the Date table with other tables, your visual will only show the date in slicer due to the filter.

I suggest you to create measure filter to filter your visual in visual level filters.

Filter1 = IF(MAX('Table'[Date]) in VALUES('Calendar'[Date]),1,0)
Filter2 = IF(MAX('Table'[Date]) in CALENDAR(MAX('Calendar'[Date])+1,EOMONTH(MIN('Calendar'[Date]),1)),1,0)
Filter3 = IF(MAX('Table'[Date]) in CALENDAR(EOMONTH(MAX('Calendar'[Date]),+1)+1,EOMONTH(MAX('Calendar'[Date]),2)),1,0)
Filter4 = IF(MAX('Table'[Date]) in CALENDAR(EOMONTH(MAX('Calendar'[Date]),2)+1,EOMONTH(MIN('Calendar'[Date]),3)),1,0)

Add filter measure into visual level filter and set it to show items when value =1.

vrzhoumsft_0-1693470361477.png

If this reply still couldn't help you solve your issue, please share a sample file with me.

 

Best Regards,

Rico Zhou

 

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
amitchandak
Super User
Super User

@Jack_Scallan , Check if you can use small multiples with month year as small multiples on that visual

 

Another way is create this measure and use that as visual level filter

This Month =
var _max = eomonth(if(isfiltered('Date'),MAX( 'Date'[Date]) , today()),0)
var _min = eomonth(_max,-1)+1 ,
return
CALCULATE([net] ,DATESBETWEEN('Date'[Date],_min,_max))

Last Month =
var _max1 = if(isfiltered('Date'),MAX( 'Date'[Date]) , today())
var _max = eomonth(_max1,-1)
var _min = eomonth(_max1,-2)+1
return
CALCULATE([net] ,DATESBETWEEN('Date'[Date],_min,_max))

 

Same way you can get other months , use these measure in visual or visual level filter and check non blank value

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak thanks for your help!

 

Can you help me define what [net] should be?

 

At it appears that small multiples can not be used for the table visual.

Anonymous
Not applicable

Hi @Jack_Scallan ,

 

Do you want to show incremental months in four table visuals ? If you want to do this, I suggest you to create an unrelated Date table to help. If you create relationship between the Date table with other tables, your visual will only show the date in slicer due to the filter.

I suggest you to create measure filter to filter your visual in visual level filters.

Filter1 = IF(MAX('Table'[Date]) in VALUES('Calendar'[Date]),1,0)
Filter2 = IF(MAX('Table'[Date]) in CALENDAR(MAX('Calendar'[Date])+1,EOMONTH(MIN('Calendar'[Date]),1)),1,0)
Filter3 = IF(MAX('Table'[Date]) in CALENDAR(EOMONTH(MAX('Calendar'[Date]),+1)+1,EOMONTH(MAX('Calendar'[Date]),2)),1,0)
Filter4 = IF(MAX('Table'[Date]) in CALENDAR(EOMONTH(MAX('Calendar'[Date]),2)+1,EOMONTH(MIN('Calendar'[Date]),3)),1,0)

Add filter measure into visual level filter and set it to show items when value =1.

vrzhoumsft_0-1693470361477.png

If this reply still couldn't help you solve your issue, please share a sample file with me.

 

Best Regards,

Rico Zhou

 

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

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.