cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mchacon
Frequent Visitor

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
Winner of T-Shirt Design

Power BI T-Shirt Design Challenge 2023

Find out who won the T-Shirt Design Challenge and the top 3 finalists.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.