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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

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 Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors