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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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.

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors