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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
Andrewutter12
Frequent Visitor

Pulling in client name based on invoice number

Hello,

I have an "invoice" table" and a "debtors" table in PowerBI. I'm looking to pull in the client name from the debtors table to my invoice table based on my invoice number provided on my invoice table. Is there an easy/quick solution to make this happen?

Andrewutter12_0-1604941747434.png

 

Thanks!

1 ACCEPTED SOLUTION
PhilipTreacy
Super User
Super User

Hi @Andrewutter12 

With a relationship between the tables you can add a calculated column in the Invoice table using

 

Client = RELATED(Debtors[Client])

 

to pull in the Client name.

Sample PBIX here.

regards

Phil


If I answered your question please mark my post as the solution.
If my answer helped solve your problem, give it a kudos by clicking on the Thumbs Up.



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

2 REPLIES 2
PhilipTreacy
Super User
Super User

Hi @Andrewutter12 

With a relationship between the tables you can add a calculated column in the Invoice table using

 

Client = RELATED(Debtors[Client])

 

to pull in the Client name.

Sample PBIX here.

regards

Phil


If I answered your question please mark my post as the solution.
If my answer helped solve your problem, give it a kudos by clicking on the Thumbs Up.



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


jthomson
Solution Sage
Solution Sage

Assuming there's some sort of relationship between the two tables (i.e. on the invoice number), it should be automatic

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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