cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mohannad17
Frequent Visitor

Return lowest value of a list of variables

 

Hi Everyone, I've the below exmaple, and I'm trying to return the lowest variable out of a list of many variables

 

 

var A=650

var B=455

var C=450

 

return

 

C

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @Mohannad17 

you can use

MIN ( A, MIN ( B, C ) )

View solution in original post

1 REPLY 1
tamerj1
Super User
Super User

Hi @Mohannad17 

you can use

MIN ( A, MIN ( B, C ) )

Helpful resources

Announcements
Vote for T-Shirt Design

Power BI T-Shirt Design Challenge 2023

Vote for your favorite t-shirt design now through March 28.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

March Events 2023A

March 2023 Events

Find out more about the online and in person events happening in March!

Top Solution Authors