+ Reply to Thread
Results 1 to 5 of 5

A challenging business intelligence issue with subtotals

  1. #1
    Registered User
    Join Date
    07-15-2014
    Location
    London, England
    MS-Off Ver
    Office 2010
    Posts
    7

    A challenging business intelligence issue with subtotals

    Hi everyone,


    I am currently working on a dashboard made with Excel and PowerPivot. This dashboard is meant to centralize all the data I have about my website and apps. One of these databases is a website analytics database which consists of the number of pages views and the number of unique browsers for a specific country and a specific language (my website is available in several languages).


    If the user of my dashboard selects one country (for example, France), a specific language (for example, english) and a specific data type (for example, pages views), he will get the number of pages views in France for the english version of the website.

    Then, if the same user selects only one country (for example, France), he will get the number of pages views in France, whatever the language of the website is. Indeed, Excel sums up the number of pages views in France by language to get the total number of pages views in France. Everything is right for the moment.


    Here is the issue: if the user wants to get the number of unique browsers in France, it is tricky. Indeed, even if you live in France, you can visit the website in French and then visit it in English. Thus, if we are interested in the number of unique browsers for French and English, a user located in France who visited the website in both languages should be only counted once: there is a duplication between french and english languages.


    That's why Excel can't calculate by itself the subtotals, and we need to export the right subtotals from our web analytics database.

    My question is: how should I present my web analytics database ? My first idea was to present it like that:

    table.png


    The lines in red refer to the subtotals I have to get from my website analytics database, and the "xxx" are numbers.


    The problem with this display is that on my dashboard, when the user will select a country in a slicer, the list of countries will be:

    - France
    - UK
    - France + UK

    and the list of languages:
    - english
    - french
    - english + french

    I think it is counter intuitive to have "France + UK" considered as a single country, and "english + french" as a single language. Indeed, the hierarchy of my countries is:

    Continent (for example, Europe)
    Subregion (for example, Western Europe)
    Country (France, UK, France+UK)

    Then if the user only selects "Western Europe", Excel will give him the number of unique browsers in France + unique browsers in the UK + unique browsers in France and the UK, which would be wrong.

    How can I solve this issue ?

    Best,

    Larry.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: A challenging business intelligence issue with subtotals

    Hi,

    Are you able to add numeric valuse to your web database table, and then produce an example or three of the dashboard results you would expect to see given specific user choices.

    We generally prefer to work with actual data and know what's expected. Intuitively I feel that some sort of pre-processing of your web data table in Excel will be the way forward but let's see some actual numbers.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: A challenging business intelligence issue with subtotals

    Please take your time to read the forumrules, especialy the one about crossposting.


    http://www.mrexcel.com/forum/power-b...subtotals.html
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  4. #4
    Registered User
    Join Date
    07-15-2014
    Location
    London, England
    MS-Off Ver
    Office 2010
    Posts
    7

    Re: A challenging business intelligence issue with subtotals

    Hi,

    Thank you for your answer Richard. Here is the data I have:

    Excel country & language database.xlsx

    Is it what you are looking for ?

    Best,

    Larry.

    PS: oeldere, thank you, I ignored this rule and will abide by it, np.
    Last edited by larrygoldstein; 09-15-2014 at 06:34 AM.

  5. #5
    Registered User
    Join Date
    07-15-2014
    Location
    London, England
    MS-Off Ver
    Office 2010
    Posts
    7

    Re: A challenging business intelligence issue with subtotals

    Anyone could help ? Could I provide additional documents ?

    Best,

    Larry

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Challenging issue - references
    By farishattar in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 07-24-2014, 02:09 PM
  2. Returning a value based on business days issue
    By learningexcel78 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-16-2014, 03:46 PM
  3. business intelligence using excel
    By sowherdo in forum Excel General
    Replies: 1
    Last Post: 06-27-2013, 09:33 AM
  4. Challenging Excel Issue Re: Comparing 2 Spreadsheets
    By jeepinjeff in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 06-03-2013, 07:16 AM
  5. Replies: 12
    Last Post: 01-18-2013, 05:23 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1