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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors