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

Highest value from a column based on dates

Hello everyone, 

 

I have been stuck on this problem for a while and while it may seem like a easy question- I cant seem to figure it out.

 

My problem is: I would like to get a summary table for the max value(highlighted) in yellow for each month/year.

 

E.g. for Oct-2021 its 89 and Nov-2021 its 164 etc

 

anony711_0-1669372961530.png

 

Any help is appreciated. 🙂

 

1 ACCEPTED SOLUTION
v-cgao-msft
Community Support
Community Support

Hi @anony711 ,

If you want a calculated table.

Table 2 = 
SUMMARIZE (
    'Table',
    'Table'[Cal(Mon/Year)],
    "Max of each month", MAX ( 'Table'[Max of each month] )
)

vcgaomsft_0-1669615894334.png

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

View solution in original post

6 REPLIES 6
anony711
Frequent Visitor

Thank you all

v-cgao-msft
Community Support
Community Support

Hi @anony711 ,

If you want a calculated table.

Table 2 = 
SUMMARIZE (
    'Table',
    'Table'[Cal(Mon/Year)],
    "Max of each month", MAX ( 'Table'[Max of each month] )
)

vcgaomsft_0-1669615894334.png

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

Luis98
Resolver II
Resolver II

Hi @anony711 ,

 

So if you have a table visualization and you want to get the maximum value you can summarize the value:

Luis98_0-1669374281843.pngLuis98_1-1669374288945.png

 

 

Luis98
Resolver II
Resolver II

Hi @anony711 ,

 

You have to select the column Call(Mon/Year), right click group by, and fill like this;

Luis98_1-1669373813999.png

 

 

Hi @Luis98 

 

Thank you for your reply.

 

I forgot to mention that this a summarised table in PowerBI so a calculated column or measure is what I am looking for. 

 

Thank you once again

Hi @anony711 ,

 

You just need the following mesure:

_maxOfMax = MAX(yourTable[Max of each month])

 

Put this is a visual with one of your other date fields and it will give you what you want.

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




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.

Top Solution Authors
Top Kudoed Authors