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.
Hi,
I have two tables which have no relations:
In Table 1 I would like a calculated columns with the relevant price. I would like to retrive the "PRICE" for the relevant SKU_ID where DATE_PRICE_CHANGE is the highest possible but still lower than DATE in TABLE 1.
So I imagine it would be something like the formula below where I need help with "xxxxxxxxx"-part
PRICE =
LOOKUPVALUE (
Table2[Price];
Table2[SKU_Id]; Table1[SKU_id];
Table2[DATE_PRICE_CHANGE]; xxxxxxxxxxxxxxxxxx...............Table1[DATE]
)
Thank you in advance for any help. If "lookupvalue" isn't the best solution for this I'm happy for other suggestions as well.
Best regards,
Solved! Go to Solution.
You may refer to the following example.
http://community.powerbi.com/t5/Desktop/Find-last-value-based-on-date/m-p/293150#M129228
You may refer to the following example.
http://community.powerbi.com/t5/Desktop/Find-last-value-based-on-date/m-p/293150#M129228
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 |
---|---|
111 | |
95 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |