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

Button to select top "N" values based on the user selection?

Hi,

I am trying to create the button that helps the user to select top "N" values based on his choice.

Here is the data below:

My dimension in the following pivot table are:

1. Part Number

2. Inventory Balance

3. Actual Balance

Measures:

Difference = (Actual Balance - Inventory Balance)

Rank  =Rank( TOTAL([Actual Balance]-[Inventory Balance]),1,4)

Can someone advise me on this?

 

Part NumberInventory BalanceActual BalanceDifferenceRank
C234592120000854081
A1848721940134532
A21054757965253
B8256204817924
C1130519326275
B383313805476
A349510175227
B2603953358
D56608561969
B11045120816310
E45716608911
D106557297412
E20474713
D30444414
A41732083515
A821523116
D954701617
D844551118
E1109919
A501120

Thanks,
Vidya    

3 Replies
jaumecf23
Creator III
Creator III

Hi,

Attached a possible solution.

poluvidyasagar
Creator II
Creator II
Author

I want the user to select number of rows based on the rank.

jaumecf23
Creator III
Creator III

The user can introduce the number of rows in the following object available in the dashboard (screenshoot attached)

Captura.PNG