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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
MCassady
Helper I
Helper I

Get Max Values Grouped by Month Or Datepart?

Hey all,

 

I need to show a series on a linechart that is the MAX value, per month. I am very new to DAX/PowerBI, but normally in SQL, I would just do a MAX with a group by DATEPART(MM,Date).

 

I am not quite sure how to accomplish this in a measure. Below is my data set example, followed up intended output.

 

MCassady_0-1659724067981.png

 

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @MCassady 
In PowerBi with DAX you just need to place the month on the axis and create a measure
MaxValue = MAX ( TableName[Valueused_Standarized] )

View solution in original post

2 REPLIES 2
MCassady
Helper I
Helper I

Thanks for your responsed @tamerj1 .

 

This seems to have worked! Thank you

 

I thought I would have to specifcy the group by in the measure, rather than letting the x axis do it for me!

tamerj1
Super User
Super User

Hi @MCassady 
In PowerBi with DAX you just need to place the month on the axis and create a measure
MaxValue = MAX ( TableName[Valueused_Standarized] )

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.