Existing Template Source SQL

LeapFrogBI enables the use of existing tables and views.  For example; when extending an data mart there will be existing dimensions that need to be referenced by the new fact table.  In this case we need to profile the existing dimensions so that LeapFrogBI knows how to access them.  The same is true when using existing transform and existing stage components. Profiling an exisiting resource requires that a package be uploaded to LeapFrogBI.  This profile package can be downloaded from the template selection page by right clicking the “File” link and selecting “Save As”.  Ensure that the correct extension is used (dtsx for ssis).   After downloading the profile template, the steps included in the template should be completed.  Finally, the profile is uploaded to LeapFrogBI when creating the new “Existing” type component. SQL Statement From Clause LeapFrogBI is going to use the provided SQL Statement in the exact format as is provided by the uploaded profile.  If parameters are included, then LeapFrogBI will take care of performing replacements dynamically.  It is important to take care when deciding how to build the From clause.  LeapFrogBI will execute the SQL Statement in the context of the created component’s destination connection.  Follow the below guidelines. One part name – If the destination connection is the same as the source connection, then it is acceptable to use a 1 part name in the from clause.
Three part name – If the source and destination connection are on the same SQL Server instance, but are in different databases, then a three part name should be used.
Four part name – If the source is in a different SQL Server instance from the destination, then a four part name should be used.
In this case care must be taken when considering lifecycle migration as LeapFrogBI will use the same SQL statement in all lifecycle deployments.  If the existing table is in the same SQL Server instance regardless of the lifecycle, then this will work fine.  Otherwise, a parameter should be used to dynamically set the server name.
“Select … From [” + ServerVariable + “].[myDatabase].[dbo].[myTable]”

What We Do

We provide SMBs with custom data analytics services.

Built to Spec
We design custom solutions.

Low Cost per User
Empower as many report users as you like.

You Own It
Everything from the data solution to reports is yours to keep.

No upfront costs and no long-term commitment.

Available 24/7
We monitor and maintain everything 7 days a week.

Unlimited access to a team of data experts.

Find out how 
our clients
are getting

10x ROIwithin 6 months


Become Part of the LeapFrogBI Community

Join our newsletter to receive our latest insights and articles on automated, customized reporting in the healthcare industry.


Have any questions? Reach out to us, we would be happy to answer.