Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
OpenGround | gINT | Keynetix
  • Product Communities
OpenGround | gINT | Keynetix
OpenGround Wiki Creating a Duplicate Table with selected Columns
    • 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
          • -Power BI - Data techniques
            • Correcting Data types
            • Creating a Duplicate Table with selected Columns
            • Creating a specimen list by Combining Tables
            • Creating new columns
            • Creating Table Relationships
            • Renaming Columns
        • +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. 

    Creating a Duplicate Table with selected Columns

    This feature is useful when you are creating a specimen table or a duplicate table.  It is much faster than querying the data twice from OpenGround and it requires less API usage (i.e costs less!)

    To create a duplicate table with selected columns follow the steps below

    • Open the data View for your report by clicking on the data grid icon down the left-hand side of your report.
    • Select New Table from the Table Tools Ribbon.  This creates a blank table and presents the option to define the table using an equation.
    •  Enter the following equation into the formula bar.  This will create a table called "SubTableofGrading" and include the GradingType and GradingDepthTop from the Grading table and renames them to sampletype and TopDepth. 
      • SubTableofGrading = SELECTCOLUMNS(grading,"Sampletype",[GradingType],"TopDepth",[GradingDepthTop])

    Additional fields can be added to this equation by adding additional parameters to the end of the parameters.  The first parameter in the pair is the new fieldname and the second is the fieldname from the original table.

    • Share
    • History
    • More
    • Cancel
    • Roger Chandler Created by Bentley Colleague Roger Chandler
    • When: Wed, Oct 26 2022 7:06 AM
    • Revisions: 1
    • 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