EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB30235: "Error(s) occurred while loading report: DSSSQLEngine: converting Report : Template (Local Template). -Template Unit Metrics-Template Metrics-Dimensional Metric" appears when executing a MicroStrategy report with a metric using an ApplySimple sta


Stefan Zepeda

Salesforce Solutions Architect • Strategy


"Error(s) occurred while loading report: DSSSQLEngine: converting Report : Template (Local Template). -Template Unit Metrics-Template Metrics-Dimensional Metric" appears when executing a MicroStrategy report with a metric using an ApplySimple sta

SYMPTOM:
The following error is returned in a report that contains a metric using an ApplySimple statement:
 

ka02R000000kcbIQAQ_0EM440000002EW1.jpeg

 
Error: Error(s) occurred while loading report: DSSSQLEngine: converting Report : Template (Local Template). -Template Unit Metrics-Template Metrics-Dimensional Metric (TestingApplyAgg). -Dimensional Metric-Dimensional Metric-Aggregation Metric (). -Aggregation Metric Expression-Aggregation Metric-Aggregation Metric Branch-Aggregation Metric Expression-Aggregation Metric Shortcut-Schema/Report Loading is interrupted by invalid data..
Error in Process method of Component: SQLEngineServer, Project SQL Strategy Tutorial, Job 9657, Error Code= -2147212797.
 
CAUSE:
The report could not calculate the aggregation function necessary to complete the SQL generation.
 
ACTION:
Verify the metric definition and ensure the ApplySimple statement does not contain level specifications as the example shown below
 

ka02R000000kcbIQAQ_0EM440000002EWA.jpeg

 
Remove the {~} level of the ApplySimple statement.
 

ka02R000000kcbIQAQ_0EM440000002EW3.jpeg

 
 
 
 
 
 
 
 


Comment

0 comments

Details

Knowledge Article

Published:

April 11, 2017

Last Updated:

April 11, 2017