Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
Camus
Frequent Visitor

How to merge queries without matching lookup values?

Hi!

 

I'm finding myself in a situation where I absolutely need to figure out how to merge queries that do not have common lookup values. One table consists of store specific information, the other one product information. What I'd need is to merge the queries so that every store as a parent category has the products. Basically what DAX does when you don't have a relationship between two tables set, but unfortunately, without further dwelling on this, I can't use DAX in this occasion 😕

 

 

2 REPLIES 2
v-haibl-msft
Microsoft Employee
Microsoft Employee

@Camus

 

Maybe you can use the CROSSJOIN function in your scenario.

 

How to merge queries without matching lookup values_1.jpg

 

Best Regards,
Herbert

MFelix
Super User
Super User

Hi @Camus,

 

Not sure how your tables are setup but I have made a simple setup of two tables:

 

Stores: Store

Products: Product, Date, Value

 

Go to your store table and add a custom column:

 

Custom_column.png

Expand the Custom column to new rows and it will result with a column with all the rows with Table

 

expand.png

 

Do expand again and select the columns you want to show and if you want to keep the column name:

 

expand_table.png

 

Final result is a table with Store repeated for every single product you have.

 

Final resut.png

 

Not sure if this is what you want but without further information it's difficult to have a more specific result.

 

Regards,

MFelix

 

 

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors