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.
Hi,
I need help in Power BI M query to filter down a 2nd table based on the 1st table dates.
1st table (only will have one row):
tbl1StartDate: 1/31/2024
tbl1EndDate: 2/13/2024
2nd table:
Item1
tbl2StartDate: 1/17/2024
tbl2EndDate: 1/30/2024
Item2
tbl2StartDate: 1/31/2024
tbl2EndDate: 2/13/2024
Item3
tbl2StartDate: 1/31/2024
tbl2EndDate: 2/13/2024
In the above scenerio, I want to filter table2 to only have Item2 and Item3 and NOT contain Item1
Solved! Go to Solution.
@EaglesTony , Just add any filter on date using the filter option on column down arrow
and then later go and replace those date with
List.Min(Table1[Date])
List.Max(Table1[Date])
Use these in place of date selected in filter
@EaglesTony , Just add any filter on date using the filter option on column down arrow
and then later go and replace those date with
List.Min(Table1[Date])
List.Max(Table1[Date])
Use these in place of date selected in filter
User | Count |
---|---|
77 | |
76 | |
45 | |
31 | |
27 |
User | Count |
---|---|
98 | |
89 | |
52 | |
48 | |
46 |