UI Builder > Dashboard Builder : Data Visualization Component with more than one Data Source not showing correct legendDescriptionWhen creating a Data Visualization with more than one Data Source, and after renaming each Data Source, the values that appear in the legend does not match the names defined for each Data Source. Steps to Reproduce 01. Open UI Builder for the "Base agent workspace"02. On the top-left, change Page: Landing page to Dashboard using the down arrow03. After page refresh, navigate to right-hand 'Configuration Panel' and click on Open Dashboard Builder. If hidden, 'Show Configuration Panel' to see and open the link.04. After pop-up page opens, click on 'Create a new Dashboard'05. Enter a test name for dashboard (i.e. 'sntest')06. Add a Data visualization component to the main Dashboard07. On the right-hand 'Configuration Panel', add a 'Data Source'08. Search for 'incident' and select it under Tables, and select the 'Incidents.Open' Filter, and click Apply on bottom-left.09. After returning to Dashboard builder, under Data Sources, select 'Horizontal Bar' for Visualization type10. Click 'Add data source', and add select 'incident' under Tables, and select the 'Incidents.Closed' Filter, and click Apply on bottom-left.11. Notice on the data visualization that the Legend names for 'Incident' and 'Incident1' do not match the Legend. The Legend uses 'Incident' and 'Incident(2)' insteadWorkaroundYou can change the 'Metric' labels in the right-hand 'Dashboard Configuration', which are shown in the chart legends. Please see below as an example where the 'true' column has been relabeled to 'Blue', and we are changing 'false' to Orange by clicking on the 'Additional Actions' [three dots] icon and clicking 'Edit' to open the corresponding window to make this change. Related Problem: PRB1549996