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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
vincenttys
Helper I
Helper I

Distinct Count Measure and Ranking

Hi,

 

A relative beginner question hopefully some expert here will be able to provide some guidance.

 

I have created a measure for distinctcount from the data i got. Example: my measure now show Monday 4, Tuesday 10, Wednesday 15, Thursday 10, Friday 1, Saturday 20, Sunday 15.

 

I am trying to achive below, is this possible?

Day           Value      Rank

Saturday       20          1

Sunday         15           2

Wednesday  15           2

Tuesday        10          3

Thursday       10          3

Monday         4            4

Friday             1            5

 

Thanks

 

Vince

 

1 ACCEPTED SOLUTION
v-eachen-msft
Community Support
Community Support

Hi @vincenttys ,

You can create a measure to rank your data.

RANK =
RANKX ( ALL ( Sheet1[A] ), [Value],, DESC, DENSE )

Sheet1 is your table name, A is your day column and Value is your measure.

Here is the final visual.


rank.PNG

Best Regards,

Eads

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

1 REPLY 1
v-eachen-msft
Community Support
Community Support

Hi @vincenttys ,

You can create a measure to rank your data.

RANK =
RANKX ( ALL ( Sheet1[A] ), [Value],, DESC, DENSE )

Sheet1 is your table name, A is your day column and Value is your measure.

Here is the final visual.


rank.PNG

Best Regards,

Eads

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.