Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
hariprasadqv
Creator III
Creator III

Direct Discovery Ending with error

Hi All,

I'm testing Direct Discovery for one my app. Here is my code. can you please mark the defect in that

DIRECT QUERY

DIMENSION

Country,

`KPI Name`

MEASURE

`Value KPI`

FROM `Internal_Performance`;

I'm loading data from .mdb file through OLEDB connection.

Thanks in Advance

5 Replies
antoniotiman
Master III
Master III

Hi,

Try to use

Native('KPI Name') as "KPI Name"

and

Native('Value KPI') as "Value KPI"

Regards,

Antonio

hariprasadqv
Creator III
Creator III
Author

Hi,

Here is the code and Error

DIRECT QUERY

DIMENSION

"Country",

NATIVE('KPI Name') as "KPIname"

MEASURE

NATIVE('Value KPI') as "ValueKPI"

FROM "Internal_Performance";


Capture.PNG

Thanks

antoniotiman
Master III
Master III

Remove " from Country and Internal_performance

hariprasadqv
Creator III
Creator III
Author

OOOps. still issue remains.

skharlapenko
Partner - Contributor
Partner - Contributor

by doing this: `KPI Name` do you want to receive a string "KPI Name" or a column named "KPI Name". If the former, then you don't have enough quotes, if the latter then in case of MDB - it's NATIVE('"KPI Name"') or NATIVE('[KPI Name]')