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 two tables.
Table 1
Part Id, created date, region
Table 2
Tender id, Tender date, region
Now the above two tables has many to many relationship and has no dependency between themselvs. I want to create a new table with data from this two tables into one with below clause tender date < Part created date < tender date + 7
Solved! Go to Solution.
@sourajs , Try like
filter(crossjoin(Table1,table2),[tender date]<[Part created date] && [Part created date]<=[tender date]+7)
As both region has same name, you might have to use selectcolumns to rename
Or like
summarize(filter(table1,table1[Tender date]<=max(Table2[Part created date]) && max(Table2[Part created date])<=table1[tender date]+7)
,Table1[part_id], table2[tendar_id], table1[region])
@sourajs , Try like
filter(crossjoin(Table1,table2),[tender date]<[Part created date] && [Part created date]<=[tender date]+7)
As both region has same name, you might have to use selectcolumns to rename
Or like
summarize(filter(table1,table1[Tender date]<=max(Table2[Part created date]) && max(Table2[Part created date])<=table1[tender date]+7)
,Table1[part_id], table2[tendar_id], table1[region])
Covering 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 |
---|---|
45 | |
28 | |
21 | |
11 | |
8 |
User | Count |
---|---|
77 | |
50 | |
46 | |
16 | |
12 |