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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
lucaricci90
New Member

Return minimum value for each row

Hello,

 

I have two tables, joined by case number

 

1st table

case numberresponse time
a10
a15
a20
b5
b8

 

2nd table

case numberresponse time
asmallest value of first table
bsmallest value of first table

 

I have tried using the MIN function but it returns the min value of the 1st table regardless the case number. Instead I need it for each case number.

 

Do you know how to do this?

 

Thank you!!

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

@lucaricci90 
Youy can use

MINX ( RELATEDTABLE ( table1 ), table1[response time] )

View solution in original post

1 REPLY 1
tamerj1
Super User
Super User

@lucaricci90 
Youy can use

MINX ( RELATEDTABLE ( table1 ), table1[response time] )

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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