Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

Percentage using Rank

I just wanted a solution on this..


I have a table with id's and I have used rank to rank the rows for each id (measure).


I now want to find a percentage of not-taken (Calculated column) from the 4 rows (Get these 4 rows from the rank measure for each patient)


Eg : 2 not taken/4 (measure) (My denominator is fixed)


How can I achieve this?



Super User IV
Super User IV

@aanchalshah18 - I am not quite following, can you provide sample data? I don't understand the taken/not taken stuff. 

Not really enough information to go on, please first check if your issue is a common issue listed here:

Also, please see this post regarding How to Get Your Question Answered Quickly:

The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.


@ me in replies or I'll lose your thread!!!

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!

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

Proud to be a Super User!

Super User IV
Super User IV

@aanchalshah18 , The information you have provided is not making the problem clear to me. Can you please explain with an example.
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.


Divide(sum(Table[Calculted Column]), calculate([measure],allselected(Table)))
Appreciate your Kudos.

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

Helpful resources

PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Get Ready for Power BI Dev Camp

Power BI Dev Camp - June 24th

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors