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
Anonymous
Not applicable

Show the name of the month with the lowest value

Hello Dear community, 

 

I want to create a measure that shows the name of the month which has the lowest value. I have these values: 

 

AVG MONTHMonth
728September
729October
729August
731November
733July
735December
743June
748May
752April
764March
765February
768January

 

So I would like to have a measure that shows "September". Any ideas ?

 

Thanks in advance for your help.

 

Cheers 😄

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Hello,

 

thanks for your answer. It is still showing me the month in numbers, I will check the data formats. 

Anyways its working ! 

Cheersm

View solution in original post

@Anonymous , Use month name is this measure

 

CALCULATE(max(Table[Month Name]),TOPN(1,allselected(Table[Month]),calculate(SUM([Total Ins]),asc),VALUES(Table[Month Name])))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

5 REPLIES 5
FrankAT
Community Champion
Community Champion

Hi @Anonymous ,

use the following measure:

 

13-07-_2021_17-24-23.png

 

Month with lowest value = 
CALCULATE (
    MIN ( 'Table'[Month] ),
    FILTER ( 'Table', 'Table'[AVG MONTH] = MIN ( 'Table'[AVG MONTH] ) )
)

With kind regards from the town where the legend of the 'Pied Piper of Hamelin' is at home
FrankAT (Proud to be a Datanaut)

Anonymous
Not applicable

Hello,

 

thanks for your answer. It is still showing me the month in numbers, I will check the data formats. 

Anyways its working ! 

Cheersm

amitchandak
Super User
Super User

@Anonymous , Try TOP N Assume AVG MONTH is measure else create a new measure

 

CALCULATE(max(Table[Month]),TOPN(1,allselected(Table[Month]),calculate(SUM([Total Ins]),asc),VALUES(Table[Month])))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Thanks, I got the month number (09). Is there a way to get the month name ? 

@Anonymous , Use month name is this measure

 

CALCULATE(max(Table[Month Name]),TOPN(1,allselected(Table[Month]),calculate(SUM([Total Ins]),asc),VALUES(Table[Month Name])))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

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

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.