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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors