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
char23
Helper II
Helper II

How to connect disconnected table slicers to main table on one page?

Hello, in my PowerBi file, I have two slicers where the user can select a current month and previous month. Each slicer is built from two separate disconnected tables. These two slicers pair with measures to create one column chart visual on my page. The tables must be disconnected to create the visual properly. 

 

I have two additional slicers on that same page. One additional slicer to select the current month and another slicer to select the previous month. These two slicers are built from one column in my main table with month data as text. These slicers run other visuals on the same page.

 

I would like to figure out how to connect these slicers so I can have only one slicer for current month and one slicer for previous month. I tried making relationships and creating helper tables that only filter in one direction, but this usually messes up my chart, and won't allow you to plot both current and previous month, only one or the other. What is the best approach to take on this?

 

Disconnected Tables:

SlicerTablePrevious

Month
JAN
FEB
MAR

APR

 

SlicerTableCurrent

Month
JAN
FEB
MAR
APR

 

MainTable:

Month
JAN
JAN
JAN
JAN
FEB
FEB
FEB
FEB
FEB
MAR
MAR
MAR
MAR
MAR
APR
APR
APR
APR
APR
2 ACCEPTED SOLUTIONS
audreygerred
Super User
Super User

Hi! Is there a reason you are using two separate tables instead of just having two measures? Like, if you have a measure for Sales and a measure for Sales PM then when a user filters to whatever month the Sales measure will show that amount and the prior month measure will show the amount for the month prior to the one the user selected.

 

For example, I have a measure for order qty and order qty ly. In my visual I have both of these measures added and then I am filtering to FY2020. So, this shows 2020 and 2019 in the chart: 

audreygerred_0-1727798645600.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

Anonymous
Not applicable

Hi @char23 ,

 

If you want to filter table B using table A without relationship, please try selectedValue and filter functions.

Measure = 
CALCULATE (
    SUM(TableB[ValueColumn]), 
    FILTER (
        TableB, 
        TableB[Month] = SELECTEDVALUE(TableA[Month])
    )
)

 

Best Regards,

Wearsky

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @char23 ,

 

If you want to filter table B using table A without relationship, please try selectedValue and filter functions.

Measure = 
CALCULATE (
    SUM(TableB[ValueColumn]), 
    FILTER (
        TableB, 
        TableB[Month] = SELECTEDVALUE(TableA[Month])
    )
)

 

Best Regards,

Wearsky

audreygerred
Super User
Super User

Hi! Is there a reason you are using two separate tables instead of just having two measures? Like, if you have a measure for Sales and a measure for Sales PM then when a user filters to whatever month the Sales measure will show that amount and the prior month measure will show the amount for the month prior to the one the user selected.

 

For example, I have a measure for order qty and order qty ly. In my visual I have both of these measures added and then I am filtering to FY2020. So, this shows 2020 and 2019 in the chart: 

audreygerred_0-1727798645600.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





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