Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3180

Unable to get Data from dynamically loaded Datasource (HANA-Live View)

$
0
0

Hello,

 

 

i'm trying to load datasources dynamically at runtime. Generally my source code is working.

 

 

     SourceCode for loading the datasources:

 

          SourceCode 01.PNG

 

     SourceCode for visualization:

 

          SourceCode 02.PNG

 

          Comment: The script errors are normal, because the initial datasource has other measures than the dynamically loaded one.


 

When i use for example a crossstab and set the datasouce to the newly loaded one, the crosstab shows the correct dimensions, measures and values. But the KPI's have the value '0'.

 

 

          GUI.PNG

 

But the getData-method of the datasource DS_1 throws the following error:

 

 

          ErrorMessage - Measure not found ....PNG

 

Is this a bug or what is wrong with my conding?

 

 

kind regards

 

Berndt Gernand

X-perion Consulting AG


Viewing all articles
Browse latest Browse all 3180

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>