Forum Discussion
Cipriano
Helper III
3 years agoQuery based on tables without relations?
Hello everyone! I have 3 tables that are not related, and I need to get a combined query, I tried to use UNION and SELECTCOLUMNS, but it was not possible. first table fechaid_productid_fa...
- 3 years ago
Hi Cipriano ,
You can use "Merge Queries as new" in Power Query and the expand the columns you need.
Final output:
Or you can try what FreemanZ suggested to use TREATAS function which is best for use when a relationship does not exist between the tables.
You can reference the following document.
Merge queries overview - Power Query | Microsoft Learn
Virtual Relationship with TREATAS - Microsoft Power BI Community
Best Regards,
Community Support Team _ xiaosunIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
FreemanZ
Super User
3 years agoyou can treat unrelated table columns as related ones with TREATAS function. https://dax.guide/treatas/