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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Anonymous
Not applicable

Summarize table

Hi

 

I am new to PBI, and I need to calculate a column, or make a new table where I can see infomration of 2 tables:
I have a table called 'CLIENT 'where existe the column [ID_CLIENT], it has unique data,

and I have a second table called' DELIVERY ', where I have the same column [ID_CLIENT], but in this table I have information from many more customers.

How can I  get only  the information that is on the 'DELIVERY¨ table, but only the customers of the tabala' CLIENT' only,

How I can remove the second table´s information acording to the clients I have in the first one

 

Here is an example: 

 'CLIENT 

ID_CLIENTIVFV
1023189:00:0017:00:00
1084398:00:0016:00:00
1011748:00:0012:00:00

 

'DELIVERY´

ID_CLIENTDelivery Hour
10231810:00
10843911:00
10117413:23
10114512:00
10124312:00
10231811:00

 

Create a table only with the info in Bold

 

 

Thanks!

1 ACCEPTED SOLUTION
anandav
Skilled Sharer
Skilled Sharer

@Anonymous,

 

Establisg a 1:many relationship between Clinet and Delivery table using Client ID column.

 

Then create a new table (Modelling -> New Table) using:

New Table =
Var t1 = DISTINCT(Client[Clied_ID])
RETURN
NATURALINNERJOIN(t1, Delivery)

 

PowerBI Sample.JPG

 

If this solves your problem please mark as the solution.

View solution in original post

2 REPLIES 2
anandav
Skilled Sharer
Skilled Sharer

@Anonymous,

 

Establisg a 1:many relationship between Clinet and Delivery table using Client ID column.

 

Then create a new table (Modelling -> New Table) using:

New Table =
Var t1 = DISTINCT(Client[Clied_ID])
RETURN
NATURALINNERJOIN(t1, Delivery)

 

PowerBI Sample.JPG

 

If this solves your problem please mark as the solution.

GilbertQ
Super User
Super User

Hi there,

What I would do is to create a relationship between the two tables on the ID_CLIENT

Then I would create a new table from DELIVERY.
Next I would then create a calculated column using the RELATED function to bring across the IV and FV columns.




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

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.