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
mchacon
Advocate I
Advocate I

n value in colum

Maximum

Measure = MAXX(KEEPFILTERS(VALUES(TableNameOrColumnName)),CALCULATE(COUNTA(ColumnName)))

 

Minimum

Measure = MINX(KEEPFILTERS(VALUES(TableNameOrColumnName)),CALCULATE(COUNTA(ColumnName)))

 

Pura vida!

mchacon_0-1651770572178.png

Maximun

Original column named A, has the number 2 repeated 142 times (quickmeasure) Maximum

mchacon_1-1651888561327.png

 

Minumum

Original column named A, has the number 28 repeated 1 times (quickmeasure) Minimum

mchacon_2-1651888590448.png

 

mchacon_0-1651888437229.png

 

 

 

1 ACCEPTED SOLUTION

Hi, sure is just a tip, in order to find the n quantity of times that any number is repeated in the column.

 

 

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@mchacon ,The information you have provided is not making the problem clear to me. Can you please explain with an example.

 

Refer if Rank or TOPN can help
https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures
https://community.powerbi.com/t5/Community-Blog/Dynamic-TopN-made-easy-with-What-If-Parameter/ba-p/3...
Appreciate your Kudos.

Hi, sure is just a tip, in order to find the n quantity of times that any number is repeated in the column.

 

 

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.

Top Solution Authors