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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ruinaldo
Helper II
Helper II

Transform Rows to Column with based on a reference

Hi,

 

I import data from a sql server, and the information retrive is the following table.

I want to know and check the 3 levels of name of documents based on a key that exists between the documents.

And i want to see this in a rows not a column.

After that I can add a column with a validation, if a have a 3 levels, it's ok. (i have a order, a delivery and a invoice).

if i have a order but not a delivery or not a invoice, it´s not ok.

I need help please.

 

Example:

Capture.JPG

4 REPLIES 4
v-diye-msft
Community Support
Community Support

Hi @ruinaldo 

 

you might consider creating pbix file that will contain some sample data (remove the confidential info), upload the pbix to onedrive for business and share the link to the file. that will be easy for us to repro your issue.

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

Hi @ruinaldo ,

 

User Power Query:
Split the query into two queries and use "Merge Queries" to join the two queries.

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast


Thank you for your response, but i want another result.

Can you help me please?

 

First Table:

encomendas.PNG

Second Table:

nentrega.PNG

Merge Table: (not i expected)

encomenda.PNG

 

Expected Result:

expected result.PNG

Hi @ruinaldo ,

 

you have to join using two columns (Key & Product).

Press CTRL when selecting the columns.

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast


Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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