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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

Top Kudoed Authors