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
bdelaney
Frequent Visitor

cross filter direction grayed out

Using Feb (latest) version of PBI desktop. Just added 3 tables from SQL Server. It is a very simple many:many relationship. The join table contains ONLY the two foreign keys. I tried to add a measure so that in a table visualization I could show the count of rows in one of the many tables compared to the other many table. My measure showed the same count on every row. I looked at this article Manage relationships and the subheading: (gawd, do you know this stupid board does not allow pasting with ctl-v. arrrggghhhh. Probably just an Edge thing) 'Adjusting Cross filter direction...'

 

Yep, sounds like my issue allright. But no help in the 'Manage Relationships' editor since the silly cross filter direction dropdown is unavailable. And yes, my cardinality is correct.

 

Using direct query. Maybe that is the problem....

 

Oh Jeez, I started a new PBI desktop project and used the exact same tables, but Import this time, and I get a totally different looking set of relationships. I mean it is all interpreted correctly this time. Makes the Join table the right side of the cardinality and everything. Plus I can easily choose a cross filter direction, but it is already 'both' by default, so that works for me.

I thought I'd read about all the limitations of the Direct Query mode, but this Totally f'in threw me. I'm flabbergasted.

Oh Yeah, the measure works now!?

 

1 REPLY 1
pqian
Microsoft Employee
Microsoft Employee

@bdelaney Yep. BiDi relationship is one of the limitations of DirectQuery.

 

Measure should be working now.

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.