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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
trndlnd
Frequent Visitor

Combine two tables price/equipment

Hi,

I have created a Power BI report that shows when employees take out new equipment at work and when they do it. Data is retrieved from a CSV table online (from another system). This view works fine.

I also want to show the cost for each department, so I have created a separate table that contains the name of the equipment and the price per unit. The name of the different equipment the equipment matches with the CSV table.

How can I get these two forms to connect so that I get the total price per department and can sort by different equipment.

Is this what is called a look up table?

 

Screenshot from the csv table.

"AvdID" is department ID. "AvdelingUtstyr" is the name of the department. "UtstyrType" is the name of the equipment. "UtlevertDate" is the date the equipment is picked up.

Skjermbilde 2023-11-02 130718.png

 

Screenshot from the price table

"UtstyrType" is the name of the equipment (same as the table above.

"Pris" is the price of the equipment.

trndlnd_0-1698926980897.png

 

I guess there is an easy fix to this but I just can't see it right now.

 

Thanks for any help!

1 ACCEPTED SOLUTION
Idrissshatila
Super User
Super User

Hello @trndlnd ,

 

then you need to merge queries and get the price to he first table by the equipment name.

https://learn.microsoft.com/en-us/power-query/merge-queries-overview

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

1 REPLY 1
Idrissshatila
Super User
Super User

Hello @trndlnd ,

 

then you need to merge queries and get the price to he first table by the equipment name.

https://learn.microsoft.com/en-us/power-query/merge-queries-overview

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.