Dashboard Configuration for SXP Employee


First published on 08/10/2023 at 6:54 pm

 

 

Dashboards for SXP Employee provide an at-a-glance view of your company's data. Dashboard widgets allow query-based data views you can easily configure for custom layouts specific to your data reporting needs.

 

There are several phases of configuring dashboards:

  1. Create a dashboard that will be assigned to users. Multiple dashboards may be created (for example, a sales dashboard and a support dashboard).

  2. Create a widget to assign query data, allowing it to display on a dashboard.

  3. Configure push notifications for widgets to be automatically updated when data changes in SAP Business One. Otherwise, you must manually refresh the dashboard.

  4. Enable dashboard access for a web user by assigning the 'Dashboard' or 'Dashboard Admin' role to the user.

  5. Log in as a user to configure the dashboard layout. Orient widgets on a dashboard to configure its web layout.

 

Create a Dashboard

Dashboards display widgets together to give a sense of data for a specific business area. For example, one dashboard could be for sales reps to show them their ongoing sales versus targets, while another dashboard could be for a service team to display metrics related to open service calls.

 

You can create multiple dashboards on the same system and apply user roles to display only the dashboard for its intended audience.

 

 

The 'Add Dashboard' screen must be configured first.

 

To create a dashboard:

  1. In SAP Business One, go to SXP Manager AddOn > Manage Dashboards.

  2. Add a dashboard using the + button on the upper-right, or edit an existing dashboard by using the existing dashboard’s golden arrow.

  3. Create a unique dashboard name so admins recognize what it’s for.

  4. If desired, allow date filtering in the dashboard to filter data based on the defined date range.

  5. Assign roles to the dashboard. This will allow all selected roles to view the dashboard and its widgets.

  6. If desired, apply optional filter settings. This will allow the user to further refine their view of the widget data.

  7. Add widgets. See the section 'Create a Widget' below for more details.

  8. Save the dashboard when it’s ready. Press 'Add' or 'Update' to apply changes.

  9. Configure the layout on the web. See 'Configuring Dashboard Layout' for instructions.

 

Create a Widget

Dashboard widgets offer configurable, query-based views of your data. Widgets are easily configured out of the box, with distinct layouts specific to your data reporting needs.

 

You can add widgets to existing dashboards, so if you haven't created a dashboard, do so with the instructions in the 'Create a Dashboard' section above.

 

To create or edit a widget:

  1. In SAP Business One, go to SXP Manager AddOn > Manage Dashboards.

  2. Select the dashboard using the golden arrow.

  3. Add a new widget using the + button, as shown in the screenshot below, or use an existing widget’s golden arrow to edit that widget.

    Use the + button to add a new widget.

 

4. Fill in the widget details as described below:

 

 

 

Widget Fields

Field

Description

Widget name (1)

Used by an admin to identify the widget.

Display label (2)

What the dashboard user will see.

Widget type (3)

Controls the type of widget this will be displayed as. Each widget type has its own query and parameter requirements.

 

Once you've chosen a widget type, you'll need further details, as outlined below.

Query category (4)

Must be a B1WebAPI query category. For example, B1WebAPI_OP relates to Opportunity Manager for Employee Portal while B1WebAPI_OEC could be a custom category created for the company "OEC Computers".

Query name (5)

Identifies which query is assigned to this widget.

Number of columns (9)

Defines how many columns the widget will take up. You can configure smaller widgets to span several columns; however, larger widgets have defaults you can't change. All out-of-the-box widget types will fit within the 4-column layout of the dashboard.

Widget parameters (8)

Depends on which widget type is selected.

Enable real-time updates (6)

May be selected if data types have been configured. See 'Push Notifications' below to enable this feature.

Refresh on change of (7)

Depends on which widget type is selected. When 'Enable Real-time Updates' is chosen, changes for the select document actions will be auto-refreshed on the dashboard.

 

 

5. Press the add/update button to save the widget to the dashboard.

 

Widget Query Formats

Bar widgets

Bar widgets display a single series of data in a vertical bar chart. This widget type is good for comparison data (e.g., year-over-year values) or other data you want to see side by side.

 

Bar widget with sales data.

 
Bar Widget Query Format

This query format is used by the bar, donut, and pie chart widgets.

 

These queries should have at least 2 columns. The first column is the label column and the second is the value column. Additional fields beyond the first two are ignored. Each row in the query will display a data segment (such as a bar or pie piece).

 

See your installed version of the query B1WebAPI_Dashboard/SalesByRep for a sample with data. In SAP Business One, go to Tools > Queries > User Queries > B1WebAPI_Dashboard > SalesByRep.

 

Bar widget query parameters

None

 

Donut widgets

Refer to the pie chart widgets below.

 

Gauge widgets

A gauge widget displays a value relative to a target. Gauge widgets are good for displaying data related to a known target (e.g., sales progress month-to-date versus monthly targets) or metrics with a known “good” versus “bad” value (e.g., open service calls per analyst).

 

 

Gauge widget with sales data.

 
Gauge widget query format

The gauge widget only uses the first row of the query results. It pulls the target value from a column named ‘Target’ and the value to display from a column named ‘Actual’.

 

See your installed version of the query B1WebAPI_Dashboard/SalesRevGrowthYTD for a sample with data. In SAP Business One, go to Tools > Queries > User Queries > B1WebAPI_Dashboard > SalesRevGrowthYTD.

 
Gauge widget parameters
  • Decimal places: Defines how many decimal places will be displayed on the gauge. The query may include more precision.
  • Display yellow[Y|N] Yes (Y) will show a third region in yellow on the gauge. No (N) will display only red and green regions.
  • Yellow threshold: This value must be between 1-100. It defines the percent of the target value that should display yellow. For example, if the target is 10 and the yellow threshold is 80, yellow will be displayed between 8 and 10.
  • Larger better[Y|N] Yes (Y) will show green for larger numbers, while No (N) will show green for smaller numbers.
  • Max: Upper bound of the gauge.
  • Min: Lower bound of the gauge.

 

Geo chart widgets

The geo chart displays regional data by province or state on a shaded country map. The country codes are based on the ISO 3166-1 alpha-2 standard en.wikipedia.org/wiki/ISO_3166-1_alpha-2.

 

Geo chart widgets are useful for regional data (e.g., national sales data) or where location is important (e.g., location-based service call coverage).

 

 

Geo chart widget with US sales data.

 
Geo chart widget query format

A minimum of two columns are expected for the query. The first must be the country and province code for the region in the format [ISO 3166-1 country code]-[ISO 3166-2 subregion code] (e.g., US-CA for California).

 

The second column must be numeric and will decide the shading. Additional columns will be included in the hover text.

 

See your installed version of the query B1WebAPI_Dashboard/SalesMapUSA for a sample with data. In SAP Business One, go to Tools > Queries > User Queries > B1WebAPI_Dashboard > SalesMapUSA.

 
Geo chart widget parameters

Region: Defines which region will be displayed by the geo-map.

 

Grid widgets

Grid widgets display a grid based on the query results. Optionally displays a link column. The URL template param is used to build the HREF for a link column by substituting the link column value in the string format string (see blog.stevex.net/string-formatting-in-csharp/ for details).

 

 

 

Grid widget with sales data.

 
Grid widget query format

Each column in the query is displayed in order with the column name matching the alias for the column. If the link column attributes are set, these columns will be extracted to create a link column in their place.

 

Because space is limited in a dashboard, restrict the query to 3-6 columns.

 
Grid widget parameters
  • Link column name: Defines which column is used in the link URL.
  • Display column name: Defines which query column is used for the link text.
  • URL template: Defines the template for the URL. {0} is used as a placeholder that will be replaced by the link column name.
  • Link column title: Defines the label a user will see for the link column.

 

Key performance indicator (KPI) widgets

These widgets display KPI results, highlighting how the actual value compares to the target value. A previous value can also be displayed for comparison to the current period.

 

Good examples for using KPI widgets include data about targets versus actuals. For example, sales-to-date versus target sales (e.g., a value that's more than 15% below a sales target would be yellow, more than 25% below target would be red), or hours to close a service call versus commitments (e.g., 10% below commitment target is yellow, but above commitment target is red)

 

 

KPI widget with unreached targets in red.

 

 

KPI widget with close targets in yellow.

 

 

KPI widget with targets exceeded in green.

 
KPI widget query format

The KPI widget only uses the first row of the query results. It pulls the target value from a column named ‘Target’ and the value to display from a column named ‘Actual’. If there's a column called ‘Previous’, it will also be displayed.

 

You can use a supplementary table ZEDS_KPI_TARGETS (portal dashboard KPI targets) to set target details, which can then be queried, as in the dashboard widget “My Sales > Sales Revenue MTD by Rep” (using query B1WebAPI_Dashboard/SalesRevCurrentMonthKPI_ByRep).

 
KPI widget parameters
  • Decimal places: Defines how many decimal places will be displayed on the KPI. The query may include more precision.
  • Format[Currency|Percent|Number]
  • Display yellow[Y|N] Yes (Y) will show a third view in yellow on the KPI. No (N) will display only red and green views.
  • Number suffix: Optional
  • Larger number better[Y|N] Yes (Y) will show green for larger numbers, while no (N) will show green for smaller numbers.

 

Line chart widgets

Line chart widgets display one or more data series as lines on a chart. These are ideal for displaying trends over time.

 

 

Line chart widget with sales data.

 
Line chart widget query format
  • Column 1 should be called ‘Category’. It contains the name of the series.
  • Column 2 should be called ‘Label’. It contains the name of the period.
  • Column 3 should be called ‘Total’. It contains the value to be charted. Each row represents a data point with all series displayed together in a single query.
 
Line chart widget parameters
  • Height in pixels: This numeric value determines how tall the graph is in the browser.
  • Min value (blank for auto): Starting value for the line chart. Leave blank for an automatic calculation of the minimum value based on the report data.
  • Max value (blank for auto): Upper value for the line chart. Leave blank for an automatic calculation of the maximum value based on the report data.

 

Pie chart widgets

Pie chart widgets are good for displaying data out of a hundred percent.

 

An alternative view of a “pie” chart is the “donut” chart. The donut widget provides a slightly different visualization for the same type of data.

 

 

 

Pie chart widget with sales data.

 

 

 

 

Donut widget with sales data.

 

This uses the 'Bar Widget Query Format' details listed above.

 

Widgets at a glance

Type Description Query Requirements

Bar

 

Displays a single series of data in a vertical bar chart. Assumes a query with at least 2 columns. The first one is assumed to be the label column and the second is the value column. There is one bar for each row in the query.

Donut

 

Displays a single data series in a donut chart (similar to pie chart). Assumes a query with at least 2 columns. The first one is assumed to be the label column and the second is the value column. There is one section of donut in each row in the query.
Funnel chart Displays a funnel chart using a d3 funnel. Funnel charts have two variables: 'Stage' and 'Total'. Column 1 should be aliased [Stage]; column 2 should be called [Total].

Gauge

 

Displays the status of data compared to expected high and low values. Only uses the first row of the query results. It pulls the target value from a column named ‘Target’ and the value to display from a column named ‘Actual’.

Geo chart

 

Displays regional data on a shaded country map by province or state. The country codes are based on the ISO 3166-1 alpha-2 standard (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) Assumes a query with at least two columns. The first must be the country and province code for the region in the format {ISO 3166-1 country code}-{ISO 3166-2 subregion code} (e.g., 'US-CA' for California). The second column must be numeric and will decide the shading. Additional columns will be included in the hover text.

Grid

 

Displays a grid based on the query results. Can display a link column. The URL template param is used to build the HREF for a link column by substituting the 'Link Column' value in the string format string (see http://blog.stevex.net/string-formatting-in-csharp/ for details). Each column in the query is displayed in order with the column name matching the column alias. If the link column attributes are set, these columns will be extracted to create a link column in their place.

KPI

 

Displays key performance indicator results, highlighting how close the actual value is to the target value. A previous value can also be displayed for comparison to the current period. Only uses the first row of the query results. It pulls the target value from a column named ‘Target’ and the value to display from a column named ‘Actual’. If there's a column called ‘Previous’, it will also be displayed.

Line chart

 

Displays one or more series of data as lines on a chart. Ideal for displaying trends over time. Column 1 should be called ‘Category’ and contains the series' name. Column 2 should be called ‘Label’ and contains the period's name. Column 3 should be called ‘Total’ and contains the value to be charted. Each row represents a data point with all series displayed together in a single query.

Pie chart

 

Displays a pie chart based on the results of the query. Assumes a query with at least 2 columns. The first one is assumed to be the label column and the second is the value column. There is one pie slice for each row in the query.

 

Dashboards at a glance

Three dashboards are provided out of the box.

 

Type Default Roles Default purpose
Sales Exec Management, dashboard admin Provides a full overview of all sales details, giving insight to senior management.
Sales Manager Management, dashboard admin Provides a targeted overview of sales details. Selecting specific salespeople allows a manager to inspect sales details for that person.
My Sales Sales, dashboard admin Gives salespeople a view into their own sales data.

 

Widget query reference

Available out-of-the-box queries and their descriptions are below.

 

Widget Name Widget Description Query Widget Type
Average Purchase Value KPI
(Sales Exec dashboard)
This KPI widget indicates the average purchase value compared to the expected average purchase value across all sales orders. B1WebAPI_Dashboard / AveragePurchaseValueKPI KPI
Recent Sales Orders
(Sales Exec dashboard)
This grid displays a list of recent sales orders for all salespeople. B1WebAPI_Dashboard / RecentSalesOrders Grid
Sales Revenue Map
(Sales Exec dashboard)
This geo chart displays all sales in the US for all sales orders. B1WebAPI_Dashboard / SalesMapUSA Geo chart
Sales Revenue MTD
(Sales Exec dashboard)
This KPI widget indicates what the month-to-date sales revenue is compared to the expected amount for all sales orders. B1WebAPI_Dashboard / SalesRevCurrentMonthKPI KPI
Lead to Quote Ratio
(Sales Exec dashboard)
This KPI widget indicates where the lead-to-quote ratio compares to the expected ratio for all salespeople. B1WebAPI_Dashboard / LeadToQuoteRatioKPI KPI
Quote to Close Ratio
(Sales Exec dashboard)
This KPI widget indicates where the quote-to-close ratio compares to the expected ratio for all salespeople. B1WebAPI_Dashboard / QuoteToCloseRatioKPI KPI
Sales by Rep Pie
(Sales Exec dashboard)
This pie chart displays the percentage of sales made by each salesperson. B1WebAPI_Dashboard / SalesByRep Pie chart
Num Deals by Rep Pie
(Sales Exec dashboard)
This pie chart compares the number of deals made by each salesperson. B1WebAPI_Dashboard / NumDealsByRep Pie chart
Sales by Rep Donut
(Sales Exec dashboard)
This donut chart displays the percentage of sales made by each salesperson. B1WebAPI_Dashboard / SalesByRep Donut
Num Deals by Rep Donut This donut chart compares the number of deals made by each salesperson. B1WebAPI_Dashboard / NumDealsByRep Donut
Sales by Rep Bar
(Sales Exec dashboard)
This bar chart displays sales amounts for each salesperson. B1WebAPI_Dashboard / SalesByRep Bar
Sales Growth YTD
(Sales Exec dashboard)
You must configure the query for this YTD gauge. When configured, it displays year-to-date sales growth compared to the configured target year. B1WebAPI_Dashboard / SalesRevGrowthYTD Gauge
Lead to Quote Gauge
(Sales Exec dashboard)
This gauge indicates if the number of quotes is on target compared to how many leads are in place. B1WebAPI_Dashboard / LeadToQuoteRatioKPI Gauge
Sales in Canada
(Sales Exec dashboard)
This geo chart displays all sales in Canada for all sales orders. B1WebAPI_Dashboard / SalesMapCAN Geo chart
Quote to Close Gauge
(Sales Exec dashboard)
This gauge indicates if the number of quotes that have been closed is on target. B1WebAPI_Dashboard / QuoteToCloseRatioKPI Gauge
Average Purchase Value Gauge
(Sales Exec dashboard)
This gauge indicates if the average purchase value for all sales is on target. B1WebAPI_Dashboard / AveragePurchaseValueKPI Gauge
Sales Funnel For All
(Sales Exec dashboard)
This sales funnel shows where open opportunities fall within the sales pipeline. B1WebAPI_Dashboard / SalesPipeline Funnel chart
Average Purchase Value By Rep
(Sales Manager dashboard)
This KPI shows the average purchase value of sales made by the indicated salesperson. B1WebAPI_Dashboard / AveragePurchaseValueKPI_ByRep KPI
Recent Sales Order By Rep
(Sales Manager dashboard)
This grid lists the 10 most recent sales orders for the indicated salesperson. B1WebAPI_Dashboard / RecentSalesOrders_ByRep Grid
Sales Revenue Map
(Sales Manager dashboard)
This geo chart displays sales in the USA for the indicated salesperson. B1WebAPI_Dashboard / SalesMapUSA_ByRep Geo chart
Sales Revenue MTD by Rep
(Sales Manager dashboard)
This KPI shows the month-to-date revenue for the indicated salesperson. B1WebAPI_Dashboard / SalesRevCurrentMonthKPI_ByRep KPI
Lead to Quote Ratio by Rep
(Sales Manager dashboard)
This KPI indicates if the ratio of leads to quotes is on target for the indicated salesperson. B1WebAPI_Dashboard / LeadToQuoteRatioKPI_ByRep KPI
Quote to Close Ratio By Rep
(Sales Manager dashboard)
This KPI indicates if the ratio of open quotes to closed quotes is on target for the indicated salesperson. B1WebAPI_Dashboard / QuoteToCloseRatioKPI_ByRep KPI
Sales by Rep Pie
(Sales Manager dashboard)
This pie chart displays the percentage of sales made by each salesperson. B1WebAPI_Dashboard / SalesByRep Pie chart
Sales by Rep Donut
(Sales Manager dashboard)
This donut chart displays the percentage of sales made by each salesperson. B1WebAPI_Dashboard / SalesByRep Donut
Num Deals by Rep Pie
(Sales Manager dashboard)
This pie chart compares the number of deals made by each salesperson. B1WebAPI_Dashboard / NumDealsByRep Pie chart
Num Deals by Rep Donut
(Sales Manager dashboard)
This donut chart compares the number of deals made by each salesperson. B1WebAPI_Dashboard / NumDealsByRep Donut
Sales Funnel For Manager
(Sales Manager dashboard)
This sales funnel shows where the indicated salesperson’s open opportunities fall within the sales pipeline. B1WebAPI_Dashboard / SalesPipeline_ByRep Funnel chart
Average Purchase Value
(My Sales dashboard)
This KPI shows the average purchase value of sales made by the indicated salesperson. B1WebAPI_Dashboard / AveragePurchaseValueKPI_ForRep KPI
Recent Sales Orders
(My Sales dashboard)
This grid displays a list of recent sales orders for the indicated salesperson. B1WebAPI_Dashboard / RecentSalesOrders_ForRep Grid
Sales Revenue Map
(My Sales dashboard)
This geo chart displays sales in the USA for the indicated salesperson. B1WebAPI_Dashboard / SalesMapUSA_ForRep Geo chart
Sales Revenue MTD
(My Sales dashboard)
This KPI shows the month-to-date revenue for the indicated salesperson. B1WebAPI_Dashboard / SalesRevCurrentMonthKPI_ForRep KPI
Lead to Quote Ratio
(My Sales dashboard)
This KPI indicates if the ratio of leads to quotes is on target for the indicated salesperson. B1WebAPI_Dashboard / LeadToQuoteRatioKPI_ForRep KPI
Quote to Close Ratio
(My Sales dashboard)
This KPI indicates if the ratio of open quotes to closed quotes is on target for the indicated salesperson. B1WebAPI_Dashboard / QuoteToCloseRatioKPI_ForRep KPI
Sales Funnel For Rep
(My Sales dashboard)
This sales funnel shows where the indicated salesperson’s open opportunities fall within the sales pipeline. B1WebAPI_Dashboard / SalesPipeline_ForRep Funnel chart

 

User Dashboard Access

By default, users don't have access to dashboards. To see the 'Dashboards' menu, a user must have the Dashboard or Dashboard Admin role assigned to their user.

 

To enable user access to dashboards:

  • In SAP B1, open the employee’s HR record at Human Resources > Employee Master Data.
  • Edit the user’s details by pressing the user’s 'InterConnect User Setup' button.
    • The user must already be configured because simply adds access to an existing user.
    • If the user isn't configured, set them up as described in 'Managing Users for Employee Portal'.
  • Ensure the 'Dashboard' or 'Dashboard Admin' role is checked. Also ensure any dashboard-specific roles are assigned to the user, as configured on the dashboard admin.
  • Update the user to apply changes.
  • On the web, log out and log back in to see the dashboard link.

 

B1 Access to Dashboards

Once an employee user is configured for web access, they can log into B1 to see their assigned dashboards within the B1 client (assuming they have a B1 user ID associated with their employee record).

 

To view the dashboards within the SAP Business One client:

  • Configure the web user as described above.
  • Log into SAP Business One with the configured B1 user.
  • Start SXP Manager Add-On.
  • Open SXP Manager AddOn > Portal Dashboard (marker 1 below) and wait a few seconds while the B1 client logs into the Portal dashboard.
    Open InterConnect Manager Add0n - Portal Dashboard (1)

 

If the B1 user can’t see this menu option, ensure the Portal has the appropriate roles and B1 user ID assigned.

 

  • Select and view Portal dashboards (marker 2 below).

     

    Select and view a Portal dashboard using the browser within B1 (2).

 

If you still can't see the SXP dashboard link, verify all settings for the employee master data record (email, B1 user, salesperson [if applicable], and web user roles), log out of B1 completely, and log back in.

 

Configure Dashboard Web Layout

Once you've created dashboards and assigned widgets to them, they can be displayed on the web. Users with the 'Dashboard Admin' role can manage dashboard layouts on the web.

  1. Log into SXP Employee as a user with a dashboard admin role.

  2. On the dashboard page, use the dropdown on the upper left (marker 1 on the screenshot below) to select the dashboard to be edited.

     

    Select the dashboard (1) and edit the dashboard's settings (2).
  3. Press the settings button (marker 2 in the screenshot above) to open the dashboard settings.

  4. Drag widgets from the side panel to add them to the dashboard. (Drag them from the dashboard to the side panel to remove them from the dashboard.)

    Drag widgets to the dashboard from the right-hand pane.

     

    Other widgets will move out of the way until the current one is positioned.

     

    If there are too many widgets on a row, the extra ones will be pushed to a new row.

     

  5. Resize widgets to make them take up more or less space on the dashboard. You can use this to make complicated charts larger or condense up to 4 widgets into the same row. (But not all widgets can be resized.)

     

    Resize widgets using the 'Available Sizes' dropdown.

     

    If resized widgets are too large, they'll push other content into a new row.

     

  6. Move widgets into position if they've been pushed to new rows due to automatic resizing.

    Drag smaller widgets onto the same line to save space.

     

  7. Delete empty rows when you don't need them for new widgets.

    Remove empty rows if they are no longer needed.

     

  8. Press the 'Save Layout' button to apply changes.

    Press 'Save Layout' to apply changes.

     

  9. Review the dashboard layout to confirm new widgets are displaying the desired info.

     

    Review the dashboard to see new changes.

     

At this point, the dashboard is configured and ready for general use.

 

 

 

Previous

Next


  

Last modified: 09/16/2024/6:48 pm

-