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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
chavanr
Resolver I
Resolver I

Change decimals in Rank measure

Hi there,

 

Is it possible to have the calculation of Rank based on two decimal places?

 

please see example below:

chavanr_0-1623123211596.png

column 1 is the measure by divide(column 3/column 4)

Rank is calculated based on the % .

I need the 91.71% should give rank 8 .

It is giving different rank because the % is different (upto 4 decimals)

can we have the rank calculated only for 2 decimal places?

 

Cheers,

 

 

1 ACCEPTED SOLUTION

@chavanr 

could you please share the sample data?

I did a test in PBI, please see attachmetn below





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

4 REPLIES 4
ryan_mayu
Super User
Super User

@chavanr 

maybe you can try use round(measure,2) to make sure only contains to decimal. The 91.71% looks like the same, but actually they are different.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




yes, did that but it is still taking different rank

@chavanr 

could you please share the sample data?

I did a test in PBI, please see attachmetn below





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Thanks @ryan_mayu  It works alright !!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.