cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
cfpvin Regular Visitor
Regular Visitor

Maximum value of two measures

Is it possible to get the maximum value of two measures in Power BI?

1 ACCEPTED SOLUTION

Accepted Solutions
amitchandak Super Contributor
Super Contributor

Re: Maximum value of two measures

Measure

Measure 3 = if(max(Sales[Sales])>max(Sales[COGS]),max(Sales[Sales]),max(Sales[COGS]))

Column

Col3 = if((Sales[Sales])>(Sales[COGS]),(Sales[Sales]),(Sales[COGS]))

View solution in original post

3 REPLIES 3
AnkitBI Established Member
Established Member

Re: Maximum value of two measures

Yes we can but do explain the scenario for better understanding and confirmation

cfpvin Regular Visitor
Regular Visitor

Re: Maximum value of two measures

@AnkitBI  I have measure which gives me the weekly maximum of the daily average for a department and another measure which does the same for another department. I wanted to do a comparison of the weekly maximum values and get the maximum out of the both values.

amitchandak Super Contributor
Super Contributor

Re: Maximum value of two measures

Measure

Measure 3 = if(max(Sales[Sales])>max(Sales[COGS]),max(Sales[Sales]),max(Sales[COGS]))

Column

Col3 = if((Sales[Sales])>(Sales[COGS]),(Sales[Sales]),(Sales[COGS]))

View solution in original post

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 6 members 1,062 guests
Please welcome our newest community members: