cancel
Showing results for
Search instead for
Did you mean:
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?

2 REPLIES 2
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: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882

Also, please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

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

@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

Announcements

Welcome to the User Group Public Preview

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

Microsoft Business Applications Summit sessions

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

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Top Solution Authors
Top Kudoed Authors