Forum Discussion
merging two dates columns between two table
Hello All ,
So i am having some trouble merging two tables in power bi
fist query consist of portfolio that i receve every quarter with 4 columns (Date, name of ptf, name of stock, quantity of stock) and i might have couple of differente porfolio that are not changing at same days their stock quantity.
Second query is a price table, i have an extract of all stock price for all days of 2020 with 3 columns (Date, name of stock, price).
My objective is to get the name of ptf (and there is more than one), name of stock, quantity, and price on the same query in order to calculate weight of position at any days during the year.
Hope you can help me
Thanks a lot
2 Replies
- parry2kSuper User
Anonymous it will be easier if you post some sample data and the expected output.
- AnonymousNot applicable
HiAnonymous ,
Please check if this link can help you :Merge-tables-based-on-date
If not,sample data (without Sensitive Information)and expected output would help tremendously. Please see this post regarding How to Get Your Question Answered Quickly: How to get your question answered quickly
Hope it helps.
Best Regards,
Caitlyn Yan
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.