The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I'm trying to combine columns from two tables by applying a filter against table1 and retireve columns from the other table. Both tables have data model relationship setup. Below is the query I'm using to pull the columns from table2 but it seems to be pulling pulling all the rows instead of joining the tables. Is there any other way to join two tables like we do in Sql.
EVALUATE
SUMMARIZECOLUMNS(
table1[AzureAccountId],
table1[username],
table2[ScriptInsertedDt],
KEEPFILTERS( FILTER( ALL( table1[username] ), SEARCH( "search_string", table1[username], 1, 0 ) >= 1 ))
)
ORDER BY
table1[AzureAccountId] ASC,
table1[username] ASC,
table2[ScriptInsertedDt] ASC
Hi @anz999
what is the relationship between the two tables? Based on which column? Which if them is the one side and which is the many?
User | Count |
---|---|
27 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
31 | |
15 | |
12 | |
7 | |
6 |