Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
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.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingCovering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
97 | |
84 | |
67 | |
61 |
User | Count |
---|---|
150 | |
120 | |
99 | |
87 | |
68 |