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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Filter table with a slicer in a different table and no relationship

Hello,

 

I have a set of measures which vary depending on the date choosen by the user via a slicer. The slicer has a start and end date which analysis is made over. 

I have three variables (A, B & C) with three measures for each (Ax3, Bx3 Cx3). For example, for variable A I calculate its start value, change in value and End value. The same calculations are made for B and C. Analysis shows the results of each measure at the start, end and the change between the time period selected in the slicer.

Start AChange AEnd A

 

Start B Change BEnd B

 

Start CChange CEnd C

 

To join these measures and there results together in a nice presentable table I created a new table via the following command:

 

Start =
UNION(
ROW("--", "A", "Start (USD)", [Start A]), "Change (USD)", [Change A], "End (USD)", [End A]
ROW("--", "B", "Start (USD)", [Start B]), "Change (USD)", [Change B],"End (USD)", [End B]
Row("--", "C", "Start (USD)", [Start C]), "Change (USD)", [Change C],"End (USD)", [End C]
)
 
 
--Start (USD)Change (USD)End (USD)
A50-1040
B505
C201030

 

BUT there's a problem...The slicer has no effect on the table due to it being in a different table with no relationship. Can I use some kind of DAX code in my union, row code instead of calling Start A, B, C, Change A,B,C, End A,B,C value? 

Any suggestions would be greatly appreciated  🙂


1 ACCEPTED SOLUTION
Anonymous
Not applicable

I ended up creating three matrices in the orignal field. You can set the value to be "banded row style" for matrix data, giving:

(Column header added below)

A10
B3
C5

 

A6
B-2
C5

 

A16
B1
C10

 

And then stack each matrix on top of each other (drag the visual), giving: 

A10616
B3-21
C5510

(So you have three matracies here ^^ but it appears as if its just one. Select all three, right click and select group.)

Beacuse this is all in the same field as the date slicer the table auto updates as the user moves the slicer range. To add the colum headers you just add a text box. Go to format->bring forward, else the text box will fall behind the visual:

 StartChangeEnd
A10616
B3-21
C5510

 

As for filtering a measure in a seperate table to the slicer with no relationship present...No idea

View solution in original post

1 REPLY 1
Anonymous
Not applicable

I ended up creating three matrices in the orignal field. You can set the value to be "banded row style" for matrix data, giving:

(Column header added below)

A10
B3
C5

 

A6
B-2
C5

 

A16
B1
C10

 

And then stack each matrix on top of each other (drag the visual), giving: 

A10616
B3-21
C5510

(So you have three matracies here ^^ but it appears as if its just one. Select all three, right click and select group.)

Beacuse this is all in the same field as the date slicer the table auto updates as the user moves the slicer range. To add the colum headers you just add a text box. Go to format->bring forward, else the text box will fall behind the visual:

 StartChangeEnd
A10616
B3-21
C5510

 

As for filtering a measure in a seperate table to the slicer with no relationship present...No idea

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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