Versions Compared

Key

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

Table of Contents

Table of Contents

Example PowerBI reports

Image Added


Image Added

Image Added


Image Added


Image Added

Power BI

Overview of Power BI

When using Microsoft Power Bi to analyse your system information there are three possible approaches

  1. General Information and standard reports - Use our internal PowerBi Reports (coming soon)
  2. Detailed Analysis with Lots of Data - Setup your own SQL Azure and PowerBi environments (you need a Microsoft Azure license and PowerBI online licenses)
  3. We will create a SQL database with a number of linked tables in Azure 
  4. We will publish data to those tables regularly
  5. Connect PowerBI to this table set - then publish to PowerBi online
  6. Edit and adjust your reports in PowerBi online
  7. Note PowerBi can also connect to other data sources like excel online or websites to enrich the dataOn system reports - On system reports are the preference for operational management reports they are accessable while you work in the system.
  8. Analytical Reports - What if, Graphical, Analysis - these reports are best in a reporting Tool like PowerBi
    1. Every night your data gets copied to a reporting data store.  The reporting data store is secure and has everything and you can build complex queries without concern about affecting the performance of the live system.
    2. Any reporting tool can be used - however the PowerBI report building tool is free.  
      1. You can author and run reports in the report building tool = but anyone with access to this tool can get to all information
    3. PowerBI publishing license
      1. We provide a single license publishing environment so you can provide online reports to report consumers.  
      2. Note additional charged licenses will be required (or you can setup your own Microsoft PowerBi licenses) if not all report consumers can see the same information.
  9. Export from lists in the system regularly
    1. Either / or
      1. import these to power bi desktop then publish the results
      2. Load these upto excel online that Power Bi is connected to

...

  1. - any grid can be exported to excel

Reporting Tables (vbi_)

Customers = Debtors

vbi-journal lines = includes all information required for analysis of journals.  Example - control line will be indicated.  Every line has debit / credit / link to a GL account.

Purchase order is only the header (but joining 3 tables of different types of orders - sales, purchases, returns etc) - hence the reason for this being there

purchase order lines references purchase order table - so use this

Sales Order - no sales order lines - sales order has all the information

Stock tran item is sales order line or po line join - so use vbi purchase order to stock tran item table (key on order id).  Stock Tran item works for both PO and SO.

vbi_item for sale = can be service or stock item, v_bi item for sale = generic both goods and services have in common, vbi_article is stock item

Projects are linked to journals – project_id is made negative, a dummy entry in orders is created to satisfy database integrity.  So project 100 would be store as order_id -100 in journals.

the link between vbi_journal_lines and orders is source_id to order_id.


Note
titleSQL Managment Studio - ssms

If you connect to the reporting using Microsofts SQL Server Management Server ( a free tool) to connect to the reporting server you will see diagrams that have been created to explain the data connections.


Microsoft Power Bi process

Gliffy
nameUsing Power Bi
pagePin3

Power Bi Desktop

Use this to:

...

The ideal place for this database is in SQL Azure - it is cheap and in the same place as Power Bi Online so data does not travel across your network for designing and refreshing the report data.

...

In the sample below - 32 = multiple vehicles, 64 = Favourite, 128 = Is bulk order, 16 = POD.  

Note

Bitwise operators are converted into readable text when using the vbi_ tables. Only when using raw database tables will you need to convert.


Review the changes made

Once you have cleansed the data you can review each step applied (it is applied again in order if you refresh the data)

...

  1. Connection string
  2. Username
  3. Password
  4. Select a Database

...


Include Page
SE:Excel Power Pivot connection details
SE:Excel Power Pivot connection details

Then Select the Tables Required

Image Removed

Select the tables to view

...

Then hide columns a user would not require

How hidden columns look

Save and the start creating pivot reports

Image Added

Filter by label (Content by label)
showLabelsfalse
max5
spacesGH
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "admin" and type = "page" and space = "GH"
labelsadmin

Page Properties
hiddentrue


Related issues