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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
RMSLUIS
Frequent Visitor

"VLOOKUP" 2 Tables

Hi everyone,

I need help to solve this problem....Basic problem, I think. 

Basically, I have 2 tables and need, in the first one, to sum the values of 1 colum from the another table, gruped by user, which is the Key...

Example:

Untitled.jpg

Thanks,

Rui Luis

1 ACCEPTED SOLUTION
ZunzunUOC
Resolver III
Resolver III

Hi @RMSLUIS ,  you can create the next calculated column:

 

Total Burned Points = 
var iduser= Users1[User ID]
return
CALCULATE(SUM(Users2[Points Burned]);FILTER(users2;Users2[User ID]=iduser))

Care with the option "don't summarize" is active and use your name tables.

 

Result:

reply013.png

 

 

Best Regards,
Miguel

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
ZunzunUOC
Resolver III
Resolver III

Hi @RMSLUIS ,  you can create the next calculated column:

 

Total Burned Points = 
var iduser= Users1[User ID]
return
CALCULATE(SUM(Users2[Points Burned]);FILTER(users2;Users2[User ID]=iduser))

Care with the option "don't summarize" is active and use your name tables.

 

Result:

reply013.png

 

 

Best Regards,
Miguel

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Many Thanks!!

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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