Embed Link Filter 2
In this Document you will learn to Create a dashboard and add a Card chart widget and Table widget. You will learn create embed link and how to connect embed link with one dashboard to another dashboard and filter detail dashboard with global filter parameters.
[note: to apply global filters, parameterized dataset should be used in detail dashboard]
Use case: You have one summary level of Dashboard which contains summarized data. You don’t want to show detail data in this dashboard. Also, you have another dashboard which contains Detail level of data which is called Detailed dashboard. Now if you want to see detail data of summarized data and by clicking on summarized data it should redirect to the detail dashboard you have created with filter value applied on summary dashboard.
-In this document we will see how to meet this use case. So, we have one summary level of dashboard and one detail level of dashboard. Summary level dashboard contains column chart showing aggregated data, filter widget which filter country and detail dashboard have table widget showing detailed data of that column chart. Detail dashboard table has 2 parameters 1 country and 2 productline
1. Click on hamburger icon.
2. Click on (+) icon, from dashboard Tab.
3. The Create Dashboard Dialog box will pop up on screen. Enter Dashboard Name as shown in Figure.
4. Click on Create After entering Dashboard Name in dialog box.
5. You will see an Empty Dashboard, As shown in figure below:
6. From Right Vertical Menu Select the Card Widget icon.
7. The Edit menu box appears as you click on Card Widget icon. And a widget gets added in content place automatically in dashboard, As shown in Figure below:
8. Enter Following details in General Property:
Dataset: Salesb.ds
9. Enter Following details in Card General:
Select Column: Country
Aggregation: count
10. Fill above details in edit box, As Shown in figure:
11. Click on Preview and Save and Exit.
12. Create a New Dashboard and give Name Detailed of the dashboard, As shown in figure Below:
13. From Right Vertical Menu Select the Table Widget icon.
14. The Edit menu box appears as you click on Table Widget icon. And a widget gets added in content place automatically in dashboard, As shown in Figure below:
15. Enter Following details in General Property:
Dataset: Parameter.ds
In Dataset Column Select All the Field.
16. Fill above details in edit box, As Shown in figure below:
17. Click on Preview and Save and Exit, As Shown in Figure below:
18. Click on Embed icon of the Detailed Dashboard, As shown in Figure Below:
19. Copy the Link of Internal Embed in Embed.
20. Click on Cancel.
21. Open the Summary Dashboard in Edit mode.
22. Click on edit icon on the Chart Widget.
23. Enter following details in Title.
Title: Detailed Data
Hyperlink: http://localhost:8080/aiv/embed/internal/aivHubInternalEmbed/a_i__212&a_n__Detailed Data&a_as__dashboards&a_af__false/&a_af__true/aivg_country___{{country}}&aivg_productline___{{productLine}}
(link Copy from Detailed Dashboard and modified)
[ Link Description: Here after “&a_af__false/” parameter you will see “noparam” is there. This means detail dashboard do not have any filters. To pass summary dashboard filter value in to detail dashboard filter we need to provide summary dashboard filter name in curly brackets for ex. Filter name is “country” & ‘’productLine’in summary dashboard so at the end we need to add {{country}} & {{productLine}} as you can see in above link. So remove “noparam” and we need to pass {{country}} & {{productLine}} value in to parameter of detail dashbaord. Here we have parameter name as “country” and “productline”. And we are using global filter concept so it is mandatory to put “aivg_” before assigning filter values.
For Example:
&a_af__true/aivg_country___{{country}}&aivg_productline___{{productLine}}
-this will take present filter value from summary dashboard and pass this value to detail dashboard filter when clicked on detail data link
-also change “&a_af__false/” to “&a_af__true/” to filter out data when detail dashboard loaded.
NOTE: Here filter name is case sensitive. You have to apply same name as filter name]
24. Fill above details in KPI widget Hyperlink section, As shown in figure below:
25. Click on Save and Exit.
26. Now in Preview mode Click on the Detailed Data in summary Dashboard, As shown in figure below:
27. It will redirect the page in Detailed Dashboard and you can see table data is filtered with filter value available in summary dashboard, As shown in Figure below: