Need a special offer?Find out if your project fits.
+

After getting fields from data server , can't drag them to Values area.

Answered
Oleg asked on August 5, 2021

And adding measures to report object doesn't send measures object to data server. Is it because there is showing "Trial version" watermark?

5 answers

Public
Mykhailo Halaida Mykhailo Halaida Flexmonster August 6, 2021

Hi Oleg,
 
Thank you for posting your question.
 
So far, it is not fully clear to us what your issue is. Could you please explain your situation in more detail and provide a descriptive sample if possible?
 
Looking forward to your response.
 
Best regards,
Mykhailo

Public
Oleg August 6, 2021

We moving to data server. and getting /fields from custom data server. then when flexmonster pivot loads fields, it shows fields popup automatically. then when we move field from left menu to Values box, it shows red circle cursor (unavailable operation). If we add measures object to React pivot component as default value at initial render, then it doesn't send measures as values to custom data server when requesting data.

Public
Mykhailo Halaida Mykhailo Halaida Flexmonster August 6, 2021

Oleg,
 
Thank you for your fast response.
 
This sounds related to a specific aggregation-related issue in the Data Server, which was resolved a couple of minors ago.
 
That being said, we'd suggest updating your Flexmonster & Flexmonster Data Server instances to the latest versions for everything to work as expected. 
 
Please let us know if this helps.
 
Regards,
Mykhailo 

Public
Oleg August 6, 2021

We are using custom data server

Public
Mykhailo Halaida Mykhailo Halaida Flexmonster August 9, 2021

Hi Oleg,
 
In this case, please make sure the /fields request handler of your custom data source API implementation returns all the necessary aggregations in the response.
 
That is, aggregation sets for all fields (example below):
 

"aggregations": {
"any": ["count", "distinctcount"],
"date": ["count", "distinctcount", "min", "max"],
"number": ["sum", "average", "count", "distinctcount", "min", "max"]
},

 
Also, if your Flexmonster version is below 2.9.0, make sure no fields have an empty array as the value of the "aggregation" property, as this would leave the field without any possible aggregations:
 

"fields": [
{
"uniqueName": "price",
"type": "number",
"aggregations": []
},
...

 
If, however, your Flexmonster version is 2.9.0 or above, an empty array here provides the field with all available aggregation for that hierarchy type by default instead.
 
Hope this helps!
 
Best regards,
Mykhailo

Please login or Register to Submit Answer