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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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