cancel
Showing results for
Did you mean:
Helper I

## Bottom 25% of Metric and bottom 25% of dimension

Hello,

I need to make Bottom 25% of a SalesAmount and Sales Person.

For example: I have 17 sales person in the total, and I need to know the 25% bottom performance of them.

I need two measures one for 25% of the sales and one 25% of the quantity of salesperson.

example: bottom 25% of sales metrics would take the bottom 25% sales values

bottom 25% of sales person would take the 25% of the total number of sales person

 SalesPerson Sales Jon H 11474 F Kenedy 13103 William H 13350 Annete Sol 14382 Salman Ahmed 16738 Zoran P 17470 Carl Church 24224 Martin Cartson 25933 Leela Sharma 26075 Winston Lo 9500 Thomas Yu 3500 Atul B 2950 Rahseed L 5000 Munashe 5550 Nadarasj R 3680 Ram Sharma 1500 Ahdmed F 3758

What's the best way to achieve this with dax? Thank you

1 ACCEPTED SOLUTION
Solution Sage

I have created an additional page that uses the second sample data.

Hi, My name is Jihwan Kim.

If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.

4 REPLIES 4
Solution Sage

Please check the below picture and the sample pbix file's link down below, whether it is what you are looking for.

all measures are in the sample pbix file.

Hi, My name is Jihwan Kim.

If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.

Helper I

Hi,

but in my real dataset I also have bunch of blank values (no sales) and negative values...

I also need to consider these two variables.

When I put the pareto ratio the it reaches 100% before the end of the bottom because of the negative values.

Please see below sample data with negatives and blanks. In this case we don't need to consider the blank values however we need to consider the negatives

SalesPerson Sales
Jon H 11474
F Kenedy 13103
William H 13350
Annete Sol 14382
Salman Ahmed 16738
Zoran P 17470
Carl Church 24224
Martin Cartson 25933
Leela Sharma 26075
Winston Lo 9500
Thomas Yu 3500
Atul B 2950
Rahseed L 5000
Munashe 5550
Ram Sharma 1500
Ahdmed F 3758
harud f
Fabio F
Peter M
Simon F
Raquel A
Ban M
Glenda -1200
Smith K -750
Keith M -300
Tanya L -500
Simon A -400
Antonny B -3000

Solution Sage

I have created an additional page that uses the second sample data.

Hi, My name is Jihwan Kim.

If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.

Super User IV

@fabnishi1207 , I think you need to use percentile for that

Proud to be a Super User!

Announcements