Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hi,
I want to transfer a value from one mapping table to another table using lookupvalue.
This value is date-dependent (valid from and valid to)
Mapping table:
Target Table:
The date from the target table should lie between the valid to an valid from.
Solved! Go to Solution.
@Till , Not Sure I got it
you can move data from one table to another using multiple conditions like this
New Column = maxx(filter(table2,table2[Col1]= table1[col1] && table2[Col2]= table1[col2] ),table2[required_col])
Maxx can be replaced with sumx,countx etc
If you have serveral conditions, you can use && to join all of them.
Please try below measure
New Column = maxx(filter(map_inv,map_inv[value_1]= v_inv_full[Aktivität] && map_inv[value_2]= v_inv_full[Ebene]&&,v_inv_full[Datum]>=map_inv[valid_from]&&v_inv_full[Datum]<=map_inv[valid_to] ),map_inv[value_3])
Proud to be a Super User!
I am not sure if I understand your request clearly. Please see if below info is helpful for you.
Column = MAXX(FILTER(TA,'TB'[date]>='TA'[validfrom]&&TB[date]<=TA[validto]),TA[project])Proud to be a Super User!
@Till , Not Sure I got it
you can move data from one table to another using multiple conditions like this
New Column = maxx(filter(table2,table2[Col1]= table1[col1] && table2[Col2]= table1[col2] ),table2[required_col])
Maxx can be replaced with sumx,countx etc
Hi
Thanks for your quick response.
I've implemented your proposal.
It works fine.
I now need to compare the date from the second table with the date from the first table.
Date between valid from and valid to.
See solution from ryan_mayu (Solution Sage)
The two solutions would now have to be combined, which would be the solution
Thanks, also to ryan_mayu
thanks for your help.
Till
If you have serveral conditions, you can use && to join all of them.
Please try below measure
New Column = maxx(filter(map_inv,map_inv[value_1]= v_inv_full[Aktivität] && map_inv[value_2]= v_inv_full[Ebene]&&,v_inv_full[Datum]>=map_inv[valid_from]&&v_inv_full[Datum]<=map_inv[valid_to] ),map_inv[value_3])
Proud to be a Super User!
It works and learned something new again.
Thanks to both of you
I wish you a nice week and stay healthy.
Kind regards
Till
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 30 | |
| 28 | |
| 25 | |
| 24 | |
| 16 |
| User | Count |
|---|---|
| 46 | |
| 32 | |
| 19 | |
| 17 | |
| 16 |