Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.
@Anonymous , 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])
@Anonymous , 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])
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |