Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Before you start any PhixFlow project, it is important to take time to understand your data and what you need to do with it.  For large projects this means detailed analysis using an Entity-Relationship Diagram (ERD).

For this example, a sales team is using an Excel spreadsheet to manage a list of customer businesses and associated contacts. You want to make it accessible and maintainable by more than one personeasy for the team to  access and maintain the data. You also want to add some simple CRM functions, for example, to add descriptions about the business.

...

PhixFlow has many options that you can use to define the data, its properties and relationships. But if you already have data available you can quickly and easily load it into PhixFlow. The following video guides you through this process.

Download the Excel file

Multimedia
nameDemo Build Step 2 Define and Load Data.mp4

...

Expand
titleStep 1 Connect PhixFlow to the data sourceexisting data

Create an analysis model

  1. In the repository, right-click Analysis Model and
    Insert excerpt
    _add
    _add
    nopaneltrue
     to create a new analysis model and set .
  2. Set Basic Settings > Name to BusinessesTo open the model in the workspace, click the toolbar button and click 
    Insert excerpt
    _
    model_display
    finish
    _
    model_display
    finish
    nopaneltrue
    .
    To load
  3. PhixFlow opens a new empty model on the left.

Load the Excel file

, drag

  1. Drag
    Insert excerpt
    _file_collector
    _file_collector
    nopaneltrue
     from the model toolbar into the model and set .
  2. Set Basic Settings > Name: Business-FileBusinessData, then   and click 
    Insert excerpt
    _
    save
    finish
    _
    save
    finish
    nopaneltrue
     the properties.
  3. In the model, hover your mouse pointer over the file collector. PhixFlow displays a pop-up toolbar. Click 
    Insert excerpt
    _upload_file
    _upload_file
    nopaneltrue
    . Browse and browse to the Excel file.
  4. In the upload window, click the  

    Insert excerpt
    _upload_button
    _upload_button
    nopaneltrue
     button.

    Your model should now look like this.
    Image Removed

    PhixFlow creates a new stream and opens its properties.

    Expand
    titleExplore the possibilities
To make it really easy to load data from Excel files
  1. When you upload an Excel file, PhixFlow automatically sets many of the file collector and stream properties.
You can see that there
  1. There are many options that you can use to load different types of data from file. To connect PhixFlow to databases you can use a
    Insert excerpt
    _database_collector
    _database_collector
    .


Your model now looks like this.

Image Added



Expand
titleStep 2 Set the data properties


 then click on the

In the stream properties on the right, set:

  1. Basic Settings → Period to Transactional
  2. Tick Audit Manual Changes
  3. In the Attributes section, double-click Description and change its Type to Bigstring then click Click 
    Insert excerpt
    _
    finish
    save
    _
    finish
    save
    nopaneltrue
    .In the stream properties toolbar, click  and then click on the
    Insert excerpt
    _
    save
    pin
    _
    save
nopaneltrue
pin
 to keep the stream properties open.
  • In the Attributes section, double-click Description and change its Type to Bigstring then click 
    Insert excerpt
    _
    pin
    finish
    _
    pin
     to keep the stream properties
    open
    finish
    nopaneltrue
    .

  • Expand
    titleExplore the possibilities

    Look in the Attributes section. When you connect PhixFlow to the Excel spreadsheet, it automatically identifies the properties of the data columns (attributes) such as their type (string, numerical) and length. This also happens when you connect PhixFlow to data stored in databases. 


    ...

    Expand
    titleStep 3 Import the data
    1. Hover In the model on the left, hover over the BusinessData stream and select 
      Insert excerpt
      _run_analysis
      _run_analysis
      nopaneltrue
      , then click Yes to confirm.
    2. Close the confirmation messages.
    3. To check that the data has loaded into the stream, hover your mouse pointer over the stream and select 
      Insert excerpt
      _stream_views
      _stream_views
      nopaneltrue
       then select 
      Insert excerpt
      _view_default
      _view_default
      nopaneltrue
      . PhixFlow displays the data it has loaded into the stream.
    Image Removed
    1. In the model toolbar, click 
      Insert excerpt
      _save
      _save
      nopaneltrue
      .
    2. Close any remaining confirmation messages (the green boxes in the bottom left).



    You have now imported the spreadsheet data into PhixFlow. 

    Image Added