Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Simple Drill Down

Hi

 

I know this may be a simple task, however, I have spend a few days trying to figure out how to allow drill down with a sample set of data that I have.

 

I have a set of application , and their compliance score per category; where overall will branch to Application and OS and then OS branch to windows and Linux. How do i go about creating a matrix/pivot that will show the ApplicationName at top level with the overall compliance score, allowing user to drill down to application and os, and then from os to windows and linux?

 

any help is greatly appreciated. thank you!

 

ApplicationNameSLA_TypePercentageCompliance
MondayAppOS-Linux38.54
MondayAppOS38.54
MondayAppApplication26.67
MondayAppOverall36.94
TuesdayAppOS-Windows39.73
TuesdayAppOS39.73
TuesdayAppApplication45.45
TuesdayAppOverall41.05
FunAppOS-Windows50.9
FunAppOS50.9
FunAppApplication35.37
FunAppOverall48.19
App123OS-Windows64.29
App123OS64.29
App123Application33.33
App123Overall58.82
App365OS-Windows70.34
App365OS70.34
App365Application40.48
App365Overall63.64
  • You clearly have hierarchies here, so you have to create them. Bear in mind that hierarchies must reside in one and the same table. When designing tables with hierarchies, think about what a Date table looks like... Once you get your hierarchy/hierarchies right, you're almost done with your task.

     

    Here's a file that does what you want:

    https://1drv.ms/u/s!ApyQEauTSLtOgZlNkcwZPyDsKLJojw?e=iWH3bv

     

5 Replies

  • You clearly have hierarchies here, so you have to create them. Bear in mind that hierarchies must reside in one and the same table. When designing tables with hierarchies, think about what a Date table looks like... Once you get your hierarchy/hierarchies right, you're almost done with your task.

     

    Here's a file that does what you want:

    https://1drv.ms/u/s!ApyQEauTSLtOgZlNkcwZPyDsKLJojw?e=iWH3bv

     

  • Anonymous's avatar
    Anonymous
    Not applicable

    Thanks, a million! you are a great saviour 🙂 

  • Anonymous's avatar
    Anonymous
    Not applicable

    may I ask if I would like to return the score as it is selected, instead of the average. is there a function to do that? thank you.

    • daxer-almighty's avatar
      daxer-almighty
      Icon for Solution Sage rankSolution Sage

      Anonymous 

       

      I don't really understand what you mean. If you select just the right entities from your tables, the average will return the raw score since it won't have to average over many items. But this is a measure, so it has to work for any context. Hence the aggregation. An average makes sense. Other aggregations not so much. If you want to check if there is just one entity in the context, then you'll have to deal with detecting context. You can use functions such as HASONEVALUE, ISINSCOPE, HASONEFILTER... But such a measure will not be universal.

      • Anonymous's avatar
        Anonymous
        Not applicable

        understood. thanks again!