My use case is to have two metric sets on a dashboard and when the row dimension on table 1 gets filtered (by a different slicer), that it filters the same row dimension on table 2 (which doesn’t have slicer).
I have two data cubes:
Orders (list of orders, concerned with who ordered it and who was supplier on order)
OrderUser
SupplierName
Metrics (list of suppliers with % On Time Measure)
SupplierName
% On Time
Both cubes also have a date dimension that would be used as a slicer.
Goal is to be able to select a user and see all suppliers that were on orders for that user. I also want to see the % On Time metric for ONLY those suppliers. I’m fine with this being in a separate table on the dashboard.
I set up a dashboard with a filter on OrderUser and two tables, table 1 showing Orders data, table 2 showing Metrics data.
Filtering on OrderUser gives me a list of suppliers in table 1.
Table 2 shows all the suppliers and % On Time but I only want the suppliers from the filtered table 1 to show.
So, if raw data is:
Orders data
User A Supplier A
User A Supplier B
User A Supplier C
User B Supplier A
User B Supplier Y
User B Supplier Z
If User A is selected in filter on dashboard, table 1 only shows Supplier A, B and C but table 2 should also only show Supplier A, B and C.
I tried using Dependent filters where I created a second filter on Supplier and connected it to table 1 Supplier and table 2 Supplier. When I select a user in the first filter, it did indeed change the supplier filter dependent on it to where it only showed the suppliers showing in table 1 (A,B,C) but even though it was connected to a view parameter on Supplier on table 2, it did not actually filter the table data. I assume it is because it is set to All and the filter 2 must just be hiding the unselected suppliers but they are still getting included in table 2.
I tried using a formula visualization that added % On Time from table 2 to a dummy zero measure from table 1 to get both metric sets included and it showed the % On Time correctly and blank when the supplier wasn’t in table 1, but I could not figure out how to filter out the lines that had the blank measure from table 1. I tried filtering on the measures but it would not exclude any records in table 2.
I know that I could make the user click on a supplier in table 1 to see their % OTD in table 2 but was wondering if it was possible to view them all automatically.
I know that I could also set up a relationship between Supplier on data cube 1 and data cube 2 if I had to but I’d rather not since the % On Time is an aggregate measure already for each supplier.
Thanks for any advice.
Kelly