Reply
avatar user
Anonymous
Not applicable
Partially syndicated - Outbound

Why slicers don't work only for one table?

Hello everybody,

 

I want to ask you, why the slicers do work for all visuals except for table Contacts (all data from table are on visual)?

 

I have different slicers, and they work brilliantly, but I have problem with only one table Contacts.

 

Thank you in advance!

 

prin03_0-1647277238466.png

 

1 ACCEPTED SOLUTION
PaulDBrown
Community Champion
Community Champion

Syndicated - Outbound

In general, the slicers are from tables on the one side of the relationship. (this is a recommended best practice)

You can filter from the many side using for example a measure as a filter for the target table:

Filter from contacts = COUNTROWS(RELATEDTABLE(Contacts))

You add this measure as a filter in the filter pane for the visual and set the value to greater or equal to 1, but it depends on what fields you are including in the visual. (and should only probably be used to filter a slicer anyway)





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.






View solution in original post

4 REPLIES 4
PaulDBrown
Community Champion
Community Champion

Syndicated - Outbound

In general, the slicers are from tables on the one side of the relationship. (this is a recommended best practice)

You can filter from the many side using for example a measure as a filter for the target table:

Filter from contacts = COUNTROWS(RELATEDTABLE(Contacts))

You add this measure as a filter in the filter pane for the visual and set the value to greater or equal to 1, but it depends on what fields you are including in the visual. (and should only probably be used to filter a slicer anyway)





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.






avatar user
Anonymous
Not applicable

Syndicated - Outbound

Unfortunately, I can not send the file😅 But can give you any additional info😀

avatar user
Anonymous
Not applicable

Syndicated - Outbound

Hi @coskuersanli , the direction of relationship for Contacts is same as for e.g. Accounts, that is why I am confused

coskuersanli
Resolver III
Resolver III

Syndicated - Outbound

Hi @Anonymous 

 

You should probably change direction of relationships. I may help if you send a sample file 🙂

avatar user

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)