Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
OpenGround | gINT | Keynetix
  • Product Communities
OpenGround | gINT | Keynetix
OpenGround Wiki Report 6 - Lab Summary Table
    • Sign In
    • -OpenGround Wiki
      • -Applications
        • +Admin Portal
        • +Civil 3D Extension
        • +Data Collector
        • +Data Entry Module
        • +Excel Extension
        • +Launcher
        • +OpenGround Professional
        • +Portal Technical Preview
        • -Power BI Connector
          • Power BI Release Notes
          • +Power BI User Guide
          • -Power BI Sample Report Templates
            • Report 1 - Cloud Parameters
            • Report 2 – Location Count Report
            • Report 3 – Project Summary
            • Report 4 - Project Geology Summary
            • Report 5 - Validation Examples
            • Report 6 - Lab Summary Table
            • Template 1: Blank Project Template
          • +Power BI - Data techniques
        • +Template Studio
        • +Upload Portal
        • +Web API and Task Service
        • +Web Portal
      • +Guides and Learning
      • OpenGround Supported Platforms
      • +How To Contact Support
      • Component Center
      • Events
      • Training Guides
      • +Developer Resources

     
     Questions about this article, topic, or product? Click here. 

    Report 6 - Lab Summary Table

    https://communities.bentley.com/cfs-file/__key/communityserver-wikis-components-files/00-00-00-06-06/Lab-Test-Summary-without-Geology.pbit

    This template uses many Power BI data techniques to combine results from lab testing tables.

    Data for each lab testing table is returned once into a table that contains the results and the specimen details.  These tables can be modified in the Power Query Builder.

    Each of the lab testing tables has a new field added for the KeyField set.  This is because PowerBI can only join on one field.

    The Allspecimens table is created using a UNION and DISTINCT statement.  This table contains all the specimens for the tables returned.

    Data Relationships are then set up between the Allspecimens table and the original result tables.

    Finally the Labresults table is created using an NATURALLEFTOUTERJOIN between the Specimen tables and the result tables.

    The Labresults table is the one that is used to create the tables in the report.

    In order to add test tables to this report you need to following the following steps:-

    1. Return the keyfields and the results from the testing table using Power Query and the Advanced Editor - this table is referred to below as the DataTable
    2. Add a KeyFieldColumn to the DataTable
    3. Include the DataTable in the Distinct Union command that creates the AllSpecimens table
    4. Create a ResultsTable from the DataTable using the SELECTCOLUMNS command, including only the KeyField and the results you want to include in the final grid.
    5. Create a relationship between the AllSpecimens table and the ResultsTable
    6. Include the ResultsTable in the Labresults table by adding an additional NATURALLEFTOUTERJOIN statement

    • Share
    • History
    • More
    • Cancel
    • Roger Chandler Created by Bentley Colleague Roger Chandler
    • When: Tue, Apr 18 2023 11:06 AM
    • Roger Chandler Last revision by Bentley Colleague Roger Chandler
    • When: Tue, Apr 18 2023 11:07 AM
    • Revisions: 2
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies