You can add a column directly via Query Editor. Once both the tables are loaded. Paste the below provided query inside the Advanced Editor for Table2 and a column for “Color” will be added.
Hi @Harsh , thank you for your response.
The solution worked, however, it takes a long time to load the data.
On my real dataset, I have some hundred thousand rows and in these cases, I usually opt to use relationships in the data model instead of merging on power query.
That is why I would rather use DAX calculated column. Do you know if I could do it?
Thank you again.
Hi @Harsh , thank you again for your support.
I am already feeling bad to ask you for more help, but I am working on Power Pivot on Excel, and TREATAS is not available
Do you see any alternative?
Hi @cesartozzi, due to inactivity, a response on this post has been tagged as “Solution”. If you have any concern related to this topic, you can create a new thread.