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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
kseeger
Regular Visitor

Get data from other table one to many.

Hi,

I need help to solve the below:

 

I have a table consisting of my cases. This table has an ID field. I want to get data from my calculation table, this table also have an ID field (many times) as well as an hours field. I want to get the total amount (sum) of hours for each ID in the case table.

 

I have tried several things, without luck.

 

Total hours = LOOKUPVALUE('CG$PV Job Calculation Detail'[Timer kalkuleret];'CG$PV Job Calculation Detail'[ID]='CG$PV Case'[ID])

3 REPLIES 3
Nathaniel_C
Community Champion
Community Champion

Hi @kseeger ,

Are the tables joined by a relationship? 1 to many? Then you should be able to traverse that relationship to get the data.  Are you doing this in Power BI?

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel





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

Proud to be a Super User!




@kseeger ,

 

Here is the measure and below is the relationship.

 

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel

 

 

 

Cases.PNGf

 

Cases1.PNG





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

Proud to be a Super User!




Hi @kseeger 

If you change the relationship filter to single, you can drop the two columns on a matrix with no measure.

 

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel

 

Cases 3.PNG

 

 

Cases2.PNG





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

Proud to be a Super User!




Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.