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

KB36677: "The key form of attribute xxxx must be mapped" message appears in Freeform SQL Editor when defining freeform SQL report in MicroStrategy Developer 9.4.x and above


Stefan Zepeda

Salesforce Solutions Architect • Strategy


This technical note outlines an error that appears in Freeform SQL Editor when defining freeform SQL report in MicroStrategy Developer 9.4.x and above.

SYMPTOM:

After specifying the objects and SQL of a Freeform SQL report, clicking OK in Freeform SQL Editor shows the following message:

ka04W000001IuIoQAK_0EM440000002DiD.png

 
 


The key form of attribute xxxx must be mapped.

CAUSE:

The attribute form which corresponds to the column to be used as the key in the attribute's lookup table is missing from the report template. Without this form, Strategy SQL Engine will not know which column to use as the table key for SQL generation.
 
For regular project attributes, this is the form which shows up in bold when editing the attribute:
 

ka04W000001IuIoQAK_0EM440000002Di9.png

 
For attributes used only in freeform SQL reports, this should be the same as the form chosen to be 'Set as ID' from Schema menu > Form Categories in Strategy Developer, as shown:
 

ka04W000001IuIoQAK_0EM440000002DiB.png

 

ACTION:

Add the form corresponding to the lookup table key for the attribute(s) used in the freeform SQL report.
 
Note: In most cases, this will be the ID form, but this can be different depending on the form chosen in the 'Form Categories' window.
 


Comment

0 comments

Details

Knowledge Article

Published:

April 26, 2017

Last Updated:

April 26, 2017