Skip to Content

How to get Top 10 Customers based on Net Sales using variable?

Hi Experts,

We are working on Webi report based on Bex query.

Right now we have more than 2.5k customers in the database. When I take customer dimension in input control, it takes a lot of time to load input controls. That is why I want to show only top 10 customers in the input control.

I want to create Dimension variable which will give me list of top 10 customers based on Net Sales.

I tried using the Rank function but when I drag that variable to report its showing #CONTEXT and #MULTIVALUE error.

How to create this variable?

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Dec 20, 2017 at 10:17 AM

    Hi,

    • sort your table with the measure descending
    • add variable rowcount

      =RunningCount(1)
    • filter table on rowcount less than or equal 10
    Add comment
    10|10000 characters needed characters exceeded

  • Dec 20, 2017 at 12:03 PM

    You can use the ranking to do this, follow a link that explains how to use:

    http://www.bidw.org/business-objects/web-intelligence/ranking-data-in-web-intelligence-report/

    Add comment
    10|10000 characters needed characters exceeded

    • Pan Kaj,

      Inside the webi, I can not see a way for you to do this.

      If you use the function that rank or runningcount for example it will only display the value 1.

      Maybe one output is to create a calculated field in your bex query so that it can be used in the input control