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
leandroduarte
Helper I
Helper I

Find minimum value on table measure

Dear Colleagues,

 

I'm trying to find the minimum year in a table and I would like to have a measure as result for the minimum value

 

I want to keep the table in the following display and result of the year always showing 2011

 

YearMin Year = Expected measure results
20112011
20122011
20132011
20142011
3 REPLIES 3
Ashish_Mathur
Super User
Super User

Hi,

Try this meaure

=MINX(ALL(Calendar),Calendar[Year])

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
v-yangliu-msft
Community Support
Community Support

Hello toleandroduarte,

Here are the steps you can follow:

1. You can create a measure to solve

min_measure = 
CALCULATE(MIN('Table'[Year]),ALL('Table'))

2. You can create a column to solve

min_column = 
MIN('Table'[Year])

3. Result.

v-yangliu-msft_0-1602638968674.jpeg

Best regards

Liu Yang

If this post helps,then consider Accepting it as the solution to help other members find it faster.

AlB
Super User
Super User

Hi @leandroduarte 

Measure =
CALCULATE ( MIN ( Table1[Year] ), ALL( Table1[Year] ) )

Please mark the question solved when done and consider giving kudos if posts are helpful.

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

Cheers 

SU18_powerbi_badge

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.