Data Views
  • 23 Sep 2021
  • 13 Minutos para leer
  • Colaboradores
  • Oscuro
    Ligero

Data Views

  • Oscuro
    Ligero

The content is currently unavailable in Spanish. You are viewing the default English version.
Resumen del artículo

Purpose


This article will provide instructions on how to create, modify, search and delete Data Views on the Process Design Studio tool.

Definition


Data Views are queries that can join multiple data sources, used for Workflow rules and/or Analytics and Reporting.

TNgK91bTY9DDjGNaDKWi6-bvaAtOVlg7xQ

Create


In order to create a Data View, click on the + New Data View button.

vpAMCfaWqvqfY0iBwUKgzO-kzNGWeAgX5A

  • Data Views can be created for two different purposes: Workflow Rules and Analytics and Reporting.

ySujZkL5YkKcLKI3kYxYx6QfkYxQAylkuA

Workflow Rules


Select this purpose if you would like to use your Data View as part of a Workflow Rule.

1. Create Data View

After selecting the Data View Purpose, fill in the Name and Description fields.

rDXR9U1dpSGgTrR1JwS8MHplmkl_P4bDKQ

Select the Event Source that will trigger the Data View. All previously created Events will be available on the list.

tFh-CRBo4iVyEe3kkCTf4pYEyjMfCnJU5A 

Data transformation is the format in which the data will be converted and displayed on the Data View. Select between Aggregate Values and Original Values.

uFRq9zyTSb1TV6MRQn77dCE2w2HVeDW6bw

  • Original Values: Your data will only be displayed in Group by mode, which groups the rows that have the same values into summary rows.
  • Aggregate Values: It will allow you to select between Group By and any of the aggregate functions (MIN, MAX, AVG, SUM, and COUNT).

Select one or more Processes to relate the Data View with. The options available here are taken from the list of Processes previously created.

Ze-c_FVUrmY3jTmkr39Ns7KJCJeUGQWzXg

After all fields are completed, click on Next.

LdbKETnOqgQ4dPZonHRuapmAprkwODDUbg

2. Event Sources

Select the main source for your comparisons. Your source can be a Data Warehouse or another Data View.

axALN1xGqY0w99FsfV07-lItYOqBqwUa6Q

Once you set the type of source, all the available Data Warehouses or Data Views will be available under Data Source Name for selection.

0y8hg0lFzmPuWpTWoOqfZGTpqjUjFaaTNw

After selecting the main source, click on the + New Data Source button.

5gObY2E9HDlSnqXePkzf2NyHdo8_YQrxRA

The first line of comparison will appear. Select the source you want to compare it with.

gzRMue4VuGpryosOn9o5f41CcRnT4NO3wg

Select a field for comparison from the main source.

hrs1GyN5dPvm2yGpsGoya17xoKiccHi_VQ

Select the type of comparison you want to apply between fields.

od1XQMcn33PPvFlgYP2Nb8tELQQHD0qN5A

The comparison options available on the drop-down list will be subjected to the type of data contained in the first field.

  • = : Equal
  • <> : Not Equal
  • : Greater Than
  • : Less Than
  • >= : Greater Than or Equal
  • <= : Less Than or Equal
  • Range
  • contains
  • not contains
  • begins with
  • ends with

Select a field for comparison from the second source.

TCBT5EfK10Eie0vS7PRabWWBeZQ3AGK-5A

  • If you select incompatible fields for comparison, you will receive an error message on the top of the screen and won't be able to continue. Make sure you select fields that contain the same kind of data.

bbnKPkM35wd_kexLUs7hOTEiPBVCnJDVDw

  • You can add more comparison lines by clicking on the "+" icon and remove them with the trashcan icon.
  • New comparisons added through the "+" icon will be related to the joined source you selected on the first line.

oDsSuqzQZnL4mIIv9OC6v1J-sgdTRKxhtA

  • You can also add more join sources for comparison by clicking on + New Data Source. Then fulfill the line as done with the previous ones.

mLWcakZIJCV8J5iAEFCSVEs84bDa42n8SQ

  • Joins can be deleted by selecting them on the left side of the item and clicking on Remove Selected.  The first line cannot be removed, but it can be modified if needed by simply changing the Data Source Type or Data Source Name.  This will remove all lines on the screen. 

  wdHL4Y07uXd-fus9ETqNmLJuGtwtOe-7AQ

  • If you need to change the primary source of the comparison, select a different Data Source Name on the top and all linked comparisons will disappear from the screen.

cEa-kggKGPZSUOmCNMQccmWVxV9Q6LzwCw

After all fields are completed, click on Next.

-pL-5575M97e-6nQ92T7hBHZC30w8Rdt5g

3. Selected columns

Within this step you will set all the fields (columns) you would like your resulting table to display. In order to start building a Column, click on the + New Column button.

2b_lS49SNYr7K15AjyagRrD4eJ2L-qiuxQ

Field Type

The options available on this drop-down menu will be subjected to the Data Transformation selection done on the first step.

  • Aggregate Values: You can add all necessary fields with a single Field Type at once, but you will need to open different Column Builders for each kind of data.  This is because each Field Type has different Available Functions.
  • Original Values: Since only Group By option is allowed, there will be no Available Functions, therefore there is an "All" option, in order to enable all Fields available, regardless of their Type.

o8YfrxWF8TT0Q8FcQjpRY2xXZjXXMBX1Yw

Available Fields

The drop-down list will show all Fields available from all the sources selected in the previous step. Select as many as needed.

1yW0R_XmGcdEtmdZPnWCG-6uAG8_ETnP-w

Group or Aggregate

The Aggregate option will only be available if it was previously selected on step #1, under Data Transformation, otherwise, you are only able to select Group By.   

A6m1Md0i1lpnF9My3tyn7rCbez2dlQwqRw

  • Group By: Groups rows that have the same values into summary rows.
  • Compute Aggregate Value: This allows you to utilize any of the aggregate functions with the (MIN, MAX, AVG, SUM, and COUNT).

Available Functions

_MzWAynDvGXioeUO2ovXeOc6yf9amV6psg

  • Min. returns the smallest value of the selected column
  • Max. returns the largest value of the selected column
  • Avg. returns the average value of a numeric column
  • Sum. returns the total sum of a numeric column
  • Count. returns the number of rows that matches a specified criterion

The functions available on the drop-down list will be subjected to the type of data contained on the field type you selected.

After building the columns, you can still edit them individually by clicking on the pencil icon on the right side of the item.   Ya2D5AN2ShpqMMSufbZQzbJGJCjpumxZKQ

Fields available for selection are Group or Aggregate and Available Functions.

   8Oq7TSMDS01sSlJq2NAmokT4Anf4R5GmEA 

Items can be removed by selecting them on the left side of the chart and clicking on Remove Columns.

   U1ZQ7HlGLnBuI3jA8zUmZDGywDPQBEI23Q 

Two columns cannot have the same Alias, the box will show a red outline and won't allow you to continue.  Change the column's Alias by overwriting the Alias field.   5wL_iFrom_cSuusFTd7q90e_2K1LP04DSg 

The same Source Name can be selected multiple times as long as the Function varies from one column to the other.  

 25-zs8QYdmMedEvtwjcrlvlF3-Uu4Qf_jw

Once your selection is done, click on Next.   

JxlTrsV6BRmIDokstXmtljXo0yhf5cuemw

4. Select Order By

Establish the priority of your columns by clicking on the box to the left of each item from the first desired column until the last one.   hOe2BK_HGPjEW8z3BqlDEoJeekYBEFHI2A

The Type option will be enabled as you establish the order of the items.   

ynBB5IX-edIiKwI5RsUtcl6q_WLXkJb_PA

  • ASC: sorts the result from the lowest value to the highest value
  • DSC: sorts the result set from the highest value to the lowest one

Once the order is set, click on Next.

dE9_i8asmGSMvZlJNJD6dkLM-HcNFoTLpA

5. Data Filters

Within this step, you will establish the comparison between previously selected sources and, at least, the Event Source chosen on the first step.  You can also add comparisons between sources and specific values, as well as comparisons between them.

In order to start building a Data Filter, click on + New Row.   

V3tK3s3d4tCoikhItIUsWc6_SN86uR7qug

Choose between the Data Sources selected on step #2.

-IcTuoIvjsRPtyKjEcTNiTzmksio3QbDTg

Select a Field for comparison.   

mMZWGnMkxxP4N6_SCyjUw9Oq2x3hlzpMwQ

Select the type of comparison you want to apply between fields, which will vary depending on the field type.  

8xF6K2LqieOcFUuBBPAWKDxGkeY4peqqvQ

 

Select a second source for the comparison on that line.

  • Value: Specific value you will manually set
  • Event Source: The only Event available will be the one added on the first step
  • Data Source: Choose between all sources used in the previous steps

 ae61-Sxs7XzOSdYA6jVKiDVm_Xu9tXyBmA

  • For a Data View with Workflow Rule Purpose, it is mandatory to create at least one comparison with the Event Source selected on the first step.

Operators

When more than one line of comparison is added, they can be separated with operators in order to indicate the server exactly what needs to be searched and compared, as well as in which order.

  • And: all comparisons, or sets of comparisons, followed by AND need to be TRUE in order for the query to be TRUE. 
  • Or: if at least one of the comparisons, or set of comparisons, followed by OR is TRUE, the query will be TRUE.
  • Parentheses: are available in case you need to set priority between the different lines or set of lines. Once you open the parenthesis at the beginning of a line, it needs to be closed at the end of the same line or at the end of the group of lines you would like to prioritize. 

 DaxPQWnOQVTIBe4kgN4pQOAWc9JJkPLK5Q

  • Lines can be deleted by selecting them on the left side of the item and clicking on Remove Selected. 

 -aBHgHIqI2ktSLH6SF8kWKDWebbcIKHc6w

Once all steps are completed, click on Create for Data View creation.  

 rtYancQG8NLa5PmM4saLcfw_Su0jABWvDw

A success message will appear on your screen. Click Back to be redirected to the Data Views page.

2D1FA-0e5h_iWjfxmUOb_2qXBCZjlzUF-w

Analytics and Reporting


Select this purpose if you would like to use your Data View for Analytics and Reporting.

1. Create Data View

After selecting the Data View Purpose, fill in the Name and Description fields.

 hykTB4SnQ-C3xXzWLWIeEckk9ndtFXbkgQ

Data transformation is the format in which the data will be converted and displayed on the Data View.  Select between Aggregate Values and Original Values.

 TfFlDF8ZtcdGBe2p7EDERtK98g8CFsc4zw

  • Aggregate Values: It will allow you to select between Group By and any of the aggregate functions (MIN, MAX, AVG, SUM, and COUNT).
  • Original Values: Your data will only be displayed in Group by mode, which groups the rows that have the same values into summary rows

Select one or more Processes to relate the Data View with.  The options available here are taken from the list of Processes previously created.   

KSaGZbtzq1HxvsQWfkjLshZhAk_kP72vig

After all fields are completed, click on Next.

fn0a11dC3h1DmD4huXECwooi6Hog7kVDsg

2. Event Sources

Select the main source you will compare other sources with, in order to generate the Data View.

Your source can be a Data Warehouse or another Data View.  

LvDsmooWmAvJbocTCF9F2ctY3kVrL4Af1Q

Once you set the type of source, all the available Data Warehouses or Data Views will be available under Data Source Name for selection.   

MNoy13xkxjZwcVtD7DjsUaWYJMDD1O4pqA

After selecting the main source, click on + New Data Source.  

 c5kidTtlOdaNLgeaOPRSsPbVwSj0F3uyiA

The first line of comparison will appear.  Select the source you want to compare it with.   

6eat6JcK4g0n78VsOV0RFp6ftJM-tSmeqw

Select a field for comparison from the first source.   

8lEhfgU67ofEOFMr8GBcM_hddnRP9JbWEg

Select the type of comparison you want to apply between fields.

   Y4riHlp8svLdXgSBfZkS97CFerqX79381w

The comparison options available on the drop-down list will be subjected to the type of data contained in the first field.

  • = : Equal
  • <> : Not Equal
  • : Greater Than
  • : Less Than
  • >= : Greater Than or Equal
  • <= : Less Than or Equal
  • Range
  • contains
  • not contains
  • begins with
  • ends with

Select a field for comparison from the second source.

   FNWJEG9sFgIsiLabXaOraZHb71Hl6EP9Ng

  • If you select incompatible fields for comparison, you will receive an error message on the top of the screen and won't be able to continue.  Make sure you select fields that contain the same kind of data. 

UwpyEhO-VCd1LMi9vrNZ1VKk2Qlb25BiJg

  • You can add more comparison lines by clicking on the + icon and remove them with the trashcan icon.
  • New comparisons added through the "+" icon will be related to the joined source you selected on the first line.   ZH1gJfw_HjqmCWDaams7m7v1d3icRUUumQ 
  • You can also add more sources for comparison by clicking on + New Data Source.  Then fulfill the line (Join) as done with the previous ones.   hF8kAvWOZjIy-clz--fQaIsnY5h4K8GUMA
  • Joins can be deleted by selecting them on the left side of the item and clicking on Remove Selected.  The first line cannot be removed, but it can be modified if needed by simply changing the Data Source Type or Data Source Name.  This will remove all lines on the screen.

   A9AELGj6hsJSNh4pSVT5yh_17eMqLDzv8Q

  • If you need to change the primary source of the comparison, select a different Data Source Name on the top and all linked comparisons will disappear from the screen.   K9WYO4kvgXDJbMFvVTUV8cjn3Dmqwb8m-A

After all fields are completed, click on Next.

   jkYpc36uYci-xcX6oRfyW-8QIKjNctqOVQ

3. Selected columns

Within this step you will set all the fields (columns) you would like your resulting table to display.

In order to start building a Column, click on + New Column.   

DrlsB1LIHQZMMelEKqoazCehF-C4ZkVHeg

Field Type

The options available on this drop-down menu will be subjected to the Data Transformation selection done on the first step. If the option selected was:

  • Aggregate Values: You can add all necessary fields with a single Field Type at once, but you will need to open different Column Builders for each kind of data.  This is because each Field Type has different Available Functions.
  • Original Values: Since only Group By option is allowed, there will be no Available Functions, therefore there is an “All” option, in order to enable all Fields available, regardless of their Type. 

lJuaE2n-q5CKxPCZSopLasZuREu6rFXsAw

Available Fields

The drop-down list will show all Fields available from all the sources selected in the previous step.  Select as many as needed.    

nX41uup_QP0A63drPmzWpsmlzw_-54d94g

Group or Aggregate

The Aggregate option will only be available if it was previously selected on step #1, under Data Transformation, otherwise, you are only able to select Group By.   

iQXja3TkrLZYC3nEcM2ebgUjqLeSbmIdLw

  • Group By: Groups rows that have the same values into summary rows.
  • Compute Aggregate Value: This allows you to utilize any of the aggregate functions with the (MIN, MAX, AVG, SUM, and COUNT).

 

The Available Functions available on the drop-down list will be subjected to the type of data contained on the field type you selected.

e74LgakwM2Ur4CnpDOmmjZbdsvBo_wEM8w

  • Min. returns the smallest value of the selected column
  • Max. returns the largest value of the selected column
  • Avg. returns the average value of a numeric column
  • Sum. returns the total sum of a numeric column
  • Count. returns the number of rows that matches a specified criterion


After building the columns, you can still edit them individually by clicking on the pencil icon on the right side of the item.   

fbZYpStYtsIMo35AR-tCwGIw6l4OinfggA

Fields available for selection are Group or Aggregate and Available Functions.

   wAkjUgOdaTBMaOOxHuDcjWrpmfBxW75XcQ


Items can be removed by selecting them on the left side of the chart and clicking on Remove Columns.

   5EkwnS6MYjaIRRPeje1zQB3F-406xvSLyQ


Two columns cannot have the same Alias, the box will show a red outline and won't allow you to continue.  Change the column's Alias by overwriting the Alias field.  0tPYOAO_b-ty_3PczluGMNnik4WqnYY8Wg

 

The same Source Name can be selected multiple times as long as the Function varies from one column to the other.  

7RIBsaEjVj37R_12Fii6m-iBxZrf1Aooqg

    

Once your selection is done, click on Next.   

VfdTJvtUuEtzMU5gSPiskz_Roq579FqgGg

4. Select Order By

This step does not apply to this Purpose.  Click on Next to continue.  

xRwc203sMNJmU-J-UuwtN6WUeIxmgMW0Qw

5. Data Filters

Within this step, you will establish the comparison between previously selected sources and specific values, as well as comparisons between them.

In order to start building a Data Filter, click on + New Row.

FRC4-QcbOZUyawwe98U2gumMcps7MKG4VA

Choose between the Data Sources selected in step #2.   

e_R0hQGu76FWBFx8nsi_8fTGckUB7VlNSA

Select a Field for comparison.   

haZ6lxtPvq5gLet0X-pZVG5--zzYiAY05Q

Select the type of comparison you want to apply between fields, which will vary depending on the field type.   

bCgV8XQBvxfDZKXsoO0wrPAeCjrMmD1jew

Select a second source for the comparison on that line.

0YKSsYgFgQlwhfBIutfazjt__vnEErwwtA

  • Value: Specific value you will manually set
  • Data Source: Choose between all sources used in the previous steps  

Operators

 When more than one line of comparison is added, they can be separated with operators in order to indicate the server exactly what needs to be searched and compared, as well as in which order.

  • And: all comparisons, or sets of comparisons, followed by AND need to be TRUE in order for the query to be TRUE. 
  • Or: if at least one of the comparisons, or set of comparisons, followed by OR is TRUE, the query will be TRUE.
  • Parentheses: are available in case you need to set priority between the different lines or set of lines. Once you open the parenthesis at the beginning of a line, it needs to be closed at the end of the same line or at the end of the group of lines you would like to prioritize. 

UnbIoUiCQI7jQXSQY3ogsAsK8HXoLzmAPA


Lines can be deleted by selecting them on the left side of the item and clicking on Remove Selected. 

 zZ5QvbriFBDOTpAMNertpYXD6vpiJsFjMQ


Once all steps are completed, click on Create for Data View creation.   

YIyIyWzw12dCVNoX54Z8CS3l56VT8KoIVg


A success message will appear on your screen.  Click Back to be redirected to the Data Views page.

  TeNGnb-pouFP8C8Q-KeAd3euIbKBd8UWog

Modify


In order to modify a Data View, find the item on the list and click on the pencil icon on the right side of the line.  All settings can be edited.   

uW0E4fqjpoGnqM4DiXqQ29zz08rBbxhnkw

If the Data View's item has a padlock icon on the left side, it means it is being used by a Workflow or another Data View.  A message appears when you open the item for edition and the modifications are not allowed.   

Yy8UOafunEMea_x8pqu3KdymjYq027bwbA


When using the search box on the top left of the screen, the page searches for the text under Data View Name as well as under Description.

     

W5ezl-Pvvo3DJcF779_qNaPZRBOoybRSTA

Delete


In order to delete a Data View, select the item on the list and then click on the Delete Data Views bottom on the top right of the screen.  

  O4jj1ICJismJtdC1ozjXO0PJ8J7jHQxi2A

  • If the item has a padlock icon, it cannot be selected for deletion.

 You will be prompted to confirm the deletion and then redirected to the Data Views page.   

xjafeuuQk5SWMANyeCx7ZXnwNY-Z99jgFg



¿Te ha sido útil este artículo?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Eddy AI, que facilita el descubrimiento de conocimiento a través de la inteligencia conversacional