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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Forcing a table in a join to be used in a table view

I have a SQL query which I am trying to replicate in Power BI

1. There's 5 tables of which 2 of them are not involved in the report 

2. Business wants this join to be used as it filters a set of records

3. I tried including a column and hiding it by reducing the size, but because of the cardinality, record numbers go up

4. I tried using USERELATIONSHIP function but its not about calculating one measure its about the entire report (table view) filtered by these joins

 

can we force the query to include the other two tables in the table view data generation.

1 REPLY 1
edhans
Super User
Super User

If you want to filter out records in one table based on data in another table, the best place to do this is in Power Query, which supports joins. The DAX model doesn't use Joins in the same way SQL and other relational databases do. Those are filters, and you can only use one at a time per table, as you've found, and inactive relationships cannot filter at all for slicers, etc.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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 Kudoed Authors