Forum Discussion
join two tables into one
- Anonymous7 years ago
Tahreem24 , thanks for your helping, I just change my sql, and it's worked
Hi Anonymous ,
You can join your current year and prior year table with the help of "Merge Queries" option in Query Editor based on you common column (for example: product name) and then create the variance column like normal calculated column.
I tried to replicate your question to some extent and see the expected result. See below steps in screen shot.
Hi Tahreem24
My two tables are in same query. Can you show implementation dax process?
- Tahreem247 years ago
Super User
Please eleborate more so that I can help you.
- Anonymous7 years agoNot applicable
My date table is from another query and my product group, Current year and prior year are from another query. How can I merge them,
It will be helpful if you show me steps via screenshots
Thanks- Tahreem247 years ago
Super User
Sure, but if you give me structure of table and sources of those table so I will probably help you.
Actually as per your question I have replicated the scenario in my system and put current and prior year table in two different table then marged them into single table and found the variance.