Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi,
I have a table (info_table) with information I need to use to create a new column in a different table (data_table).
info_table
| promo_name | start_date | end_date |
| AAA | 01/12/2020 | 03/12/2020 |
| BBB | 05/12/2020 | 07/12/2020 |
data_table
| id | date |
| 1 | 02/12/2020 |
| 2 | 04/12/2020 |
| 3 | 05/12/2020 |
Resulting column, in data_table:
| promo_name |
| AAA |
| None |
| BBB |
My formula:
The problem with this formula is it just maps the first row correctly.
Right now I'm getting around this by creating a formula and inserting the conditions I want manually, but I'd like it to update correctly according to the different promo_names in info_table.
Any help will be appreciated!
Solved! Go to Solution.
@Anonymous , Create a new column in data_table
new column = coalesce(maxx(filter(info_table, info_table[start_date] <=data_table[date] && info_table[end_date] >=data_table[date]),[promo_name]),"None")
@Anonymous , Create a new column in data_table
new column = coalesce(maxx(filter(info_table, info_table[start_date] <=data_table[date] && info_table[end_date] >=data_table[date]),[promo_name]),"None")
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 53 | |
| 48 | |
| 38 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 93 | |
| 79 | |
| 37 | |
| 27 | |
| 25 |