cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Gianfranco
New Member

Max of calculted colums

Hi,

 

coudl you please help me with the following.

I need to store in a coulumn the max value of other 4 calcualted columns by row

So I have in row 1

column a -> 5,4 (result of a calculation)

column b -> 3 (result of a calculation)

column c -> 9 (result of a calculation)

coulmn d -> 1 (result of a calculation)

 

I need to have a column e -> 9

 

thanks In advance

G

1 ACCEPTED SOLUTION
rsbin
Super User
Super User

@Gianfranco ,

Others may have a cleaner solution, but I find this works:

e = MAX( [d], MAX( [c], MAX( [a], [b] )))

a          b      c       d        e

5.4 3 9 1 9

 

Regards,

View solution in original post

2 REPLIES 2
Gianfranco
New Member

thanks !!!! 

rsbin
Super User
Super User

@Gianfranco ,

Others may have a cleaner solution, but I find this works:

e = MAX( [d], MAX( [c], MAX( [a], [b] )))

a          b      c       d        e

5.4 3 9 1 9

 

Regards,

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.