Power Pivot measurable or Calculated column help

iggydarsa

Well-known Member
Joined
Jun 28, 2005
Messages
1,819
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I have a power pivot table and the query is called "MyQuery"

I have the following fields:

UserName which is Text
CurrentYear which 0 or 1
WorkDone which is 0 or 1
ConstantFlag which is always 1


And lets say the dataset looks like this:

UserName | CurrentYear | WorkDone | ConstantFlag
Alice, 1, 1, 1
Alice, 0, 1, 1
Alice, 1, 1, 1
Bob, 1, 1, 1
Bob 1, 0, 1



I'd like to Rank the UserName (Alice and Bob) based on WorkDone/ConstantFlag where CurrentYear is 1.

So, because Alice have 2/2 makes 100% and Bob have 1/2 makes 50%, I want to see Alice's rank as 1 and Bob's rank as 2.

I tried measurables and calculated fields. I get either an #ERROR or a weird number

How can I accomplish this? Any help is appreciated.
 
Maybe this is a start for you?

1743936344954.png
 
Upvote 0

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top