Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: HANA View data preview converts measures in to string type and shows count instead of applied function(SUM , MIN , MAx etc)

$
0
0

Ok I think I have figured this out.  Even though you have defined this field as a measure, I'm guessing the source table is actually a NVARCHAR.  For example I have an analytic view with an NVARCHAR(4) field for year.  I decided to try to make it a measure in my semantics and see if I could add it to measures in data preview as you have done and sure enough it counts it. 

 

The problem is that you can't sum a text field.  Even though you are saying it's a measure in your definition it truly is not.  I have a more recent version of Studio and I can see measure icon like in your second screenshot but it also shows an additional icon that you are not seeing in your screenshot that shows AB.  See my screenshot;

 

3-25-2016 11-19-25 AM.png


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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