Versions Compared

Key

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

You now need to understand your data. For this quick start guide, your data is in this BusinessData.xls file, which you need to download to your computer.

Watch the Video


Iframe
srchttps://www.youtube.com/embed/NsuedgikqSY?rel=0
width900px
height500px

Insert excerpt
_video_controls
_video_controls
nopaneltrue

Summary of Steps


Expand
titlePlan your data (optional)

Before you start building any PhixFlow

...

application, it is important 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

...

easy 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.

...

Image Added

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.


Expand
title

...

Upload data into PhixFlow

Create an analysis model

  1. In the repository, right-click Analysis Model and click 
    Insert excerpt
    _add
    _add
    nopaneltrue
     to create a new model.
  2. Set Basic Settings > Name

...

  1.  to Businesses and click 
    Insert excerpt
    _

...

  1. finish
    _

...

  1. finish
    nopaneltrue
    .
  2. PhixFlow opens a new empty model on the left.

...

Load the Excel file

...

  1. Drag
    Insert excerpt
    _file_collector
    _file_collector
    nopaneltrue
     from the model toolbar into the analysis model

...

  1. .
  2. Set Basic Settings > Name: 

...

  1. BusinessDataXY,

...

  1.   and click 
    Insert excerpt
    _

...

  1. finish
    _

...

  1. finish
    nopaneltrue

...

  1. .
  2. 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

...

  1. and browse to the Excel file: BusinessData.xlsx.
  2. In the upload window, click the  

    Insert excerpt
    _upload_button
    _upload_button
    nopaneltrue
     button.

...

  1. PhixFlow creates a new stream and opens its properties.

    Expand
    titleExplore the possibilities

...

  1. When you upload

...

  1. an Excel file, PhixFlow automatically sets

...

  1. many of the file collector and stream properties.

...

  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 (with your initials after the names).

Image Added


Expand
title

...

Set

...

Image Removed
Expand
titleExplore the possibilities

Look in the Attributes section

You can see that PhixFlow has identified all the properties of the data columns (attributes) such as the type and length. If you want to make any changes to these ...

...

titleStep 3 Import the data

...

titleDetails

You now need to load the spreadsheet that contains the data into your application. 

...

some data properties

In the stream properties on the right, set:

  1. Basic Settings → Period to Transactional

...

  1. Expand
    titleWhy?

    By default, a stream is optimised for processing large volumes of data.  You are aiming to create a form for users to update individual data records (transactions). Setting this property to Transactional tells PhixFlow how you intend to manage the data.


  2. Tick Audit Manual Changes

    Expand
    titleWhy?

    This data will be updated manually by individuals. By ticking this box, PhixFlow will add a set of attributes to automatically record audit information about changes.

    Image Added

  3. Click 
    Insert excerpt
    _

...

  1. save
    _

...

  1. save
    nopaneltrue

...

  1.  and then click on the
    Insert excerpt
    _

...

  1. pin
    _

...

  1. pin
    nopaneltrue

...

  1.  to keep the stream properties open.  
  2. In the Attributes section, double-click Description and change its Type to Bigstring then click 

    Insert excerpt
    _

...

  1. finish
    _

...

  1. finish
    nopaneltrue
    .

...

  1.  

    Expand
    titleWhy?

    When you create a form for the data, PhixFlow recognises that data with the type Bigstring needs the field edit tools.

    Image Added

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
titleImport the data
  1. 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. To check that the data has loaded into the stream, hover your mouse pointer over the

...

  1. stream and select 
    Insert excerpt
    _

...

  1. stream_

...

  1. views
    _

...

  1. stream_

...

  1. views
    nopaneltrue

...

  1.  then select 
    Insert excerpt
    _

...

  1. view_

...

  1. default
    _

...

  1. view_

...

  1. default
    nopaneltrue

...

  • automatically configures the file collector properties to upload the file
  • creates a stream ready to hold the data. Streams are like PhixFlow's internal spreadsheets. 

...

titleAdvanced or move?

Before you start any PhixFlow project, it is important to take time to understand your data.

  • What is your data? Do you need to represent people, places, products, money, time? These are the data entities.
  • How does the data connect? These connections are the data relationships.  
  • How will you represent the data in PhixFlow? This depends on the attributes the data has.
  • Is the data "clean" or do you need to tidy it up?
  • What data is missing?  PhixFlow can combine existing data from different sources and use it to calculate additional data.
  • What volume of data do you need to handle? For very large data volumes, you will be able to use modelling strategies to process data efficiently. 
  • What do you need to do with the data? What is the business problem you want to solve?

Remember that you can:

  • PhixFlow can connect to data stored in external databases (list or link?) or data files in a range of formats (list or link?)
  • PhixFlow analysis models are a powerful tool that you can use on any data project. Analysis models can help you to improve your data integrity, by 
    • identifying missing data, duplication and variation 
    • reconciling data in different files or systems.
  • The Introduction to Modelling Course shows how to do this
  • set up your own styles and palettes to create completely customised layouts. The Building Applications Course goes through this process.

You can represent your data and requirements in an Entity-Relationship Diagram (ERD); see Wikipedia. It can help you to understand the data entities, their attributes and relationships. An ERD shows you the data architecture. As well as clarifying the data you already have and what you need to calculate, an ERD can help you identify:

  • static data: once added is unlikely to need updating. For example, the list of possible salutations:
    • Mr, Ms, Dr, Sir, Lord
  • control data, that PhixFlow uses for  screen input, for example data that is displayed in a drop-down list.
  • CRUD data, that PhixFlow will be able to create, read, update and delete.

...

  1. . PhixFlow displays the data it has loaded into the stream.
  2. In the model toolbar, click 
    Insert excerpt
    _save
    _save
    nopaneltrue
    .
  3. Close any remaining confirmation messages (the green boxes in the bottom left).

    You have now imported the spreadsheet data into PhixFlow. 

    Image Added


You are now ready for step 3, create a user screen, which will display this data to your application users.