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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors
Top Kudoed Authors