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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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