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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Farnaz_Raj98
Frequent Visitor

how to get slicer filter of one table to affect one another table which has a middle table?

Hi every one,

I have 3 tables as below that have relationships. (Arrows show the columns that are related).

I want to apply dvice filter on 2 cards. one of them in number of etl_id which is calculated from Users table and the other one is number of pxid that is calculated from Users_pxid table. When I filter device for example on mobile it just affects on count of pxid and do not affect on count of etl_id card. any one can help me please?

Tables Structure:
users:

etl_id (Primary Key, FK)

userName

Gender

users_pxid:

actic_etl_userid(FK)

pxid(FK)

pxid:

pxid(PK,FK)

Device

the following query return the right answer in SQL but on power BI the device filter don't:
SELECT COUNT(u.userid)
FROM users u INNER JOIN users_pxid up
ON u.etl_id = up.actic_etl_userid
INNER JOIN pxids p
ON p.pxid = up.pxid
WHERE p.device = 'Mobile'

 

Farnaz_Raj98_0-1661859860087.png

 

4 REPLIES 4
v-yanjiang-msft
Community Support
Community Support

Hi @Farnaz_Raj98 ,

According to your description, in my understanding, you want the pxids table also filter the users table. 

If this is the case, try to change the cross filter direction between users_pxid and users to Both.

vkalyjmsft_0-1662360071877.png

vkalyjmsft_1-1662360144233.png

Best Regards,
Community Support Team _ kalyj

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

PaulDBrown
Community Champion
Community Champion

For the etl Id card, use

Etl ID = DISTICNTCOUNT('users_pxid'[arctic_etl_userid)





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






PaulDBrown
Community Champion
Community Champion

What measures are you using?





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






on count of etl_id card I use "Count(distinct) etl_id" from users table and on count of pxid card I use " Count(distinct) pxid" from pxid table

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.