Hi,
In order to create dashboards for my customer, I moved his data to AWS cloud and implemented Quicksight service.
I am having problems with a field called “Equipment location”, which organizes hierarchically, so when the user clicks one category > the subcategories open and so on until he reaches what he was looking for- a “Dad” field with categories underneath it, or a “son” category with no categories underneath it, or a “son” category that is also a “dad”.
My problem is that when I import the database into a table, all the values under the “Equipment location” field are imported unchanged, and therefore the hierarchy is not visible.
“Equipment location” database in SAP background looks like this:
DAD | SON |
---|---|
Engine | Motorhead |
Motorhead | Motorhead sensor |
Motorhead | Motorhead gasket |
Engine | Cylinder |
Engine | valves |
In other words, there could be values that could be both “Dad” and “son”, like “Motorhead”.
In practice, the hierarchy is as follows:
Due to the fact that all the values go under one field “Equipment location” regardless of the hierarchy level, I cannot allow the user to filter the data according to different levels and view the relevant records.
My goal is that if the customer filters the data based on only records where “Equipment location” is Engine, they will also see records with “Equipment location” values that are also under Engine: cylinder, valves, motorhead, and under motohead: motohead sensor & motohead gasket.
At the moment, with one field calls “Equipment location”, the customer will only see records whose “Equipment location” equals “engine”.
The alternative solution is to create a few more columns as the number of the hierarchy levels and process the data as follows:
Equipment location 1 | Equipment location 2 | Equipment location 3 |
---|---|---|
Engine | Motorhead | Motorhead sensor |
Engine | Motorhead | Motorhead gasket |
Engine | Cylinder | |
Engine | valves |
This solution has a problem because the hierarchy in SAP is dynamic, so the user can add “dad” or “son” and the fields should change accordingly - Columns can be added based on the depth of the hierarchy.
I’m looking for the ideal way to solve the dynamic hiring problem in this case.
Thank you,
Noy