Hexagon Geospatial
MENU

M.App Enterprise

Discuss topics with other M.App Enterprise Product pioneers and experts to get the most out of it.
Showing results for 
Search instead for 
Do you mean 
Reply
Occasional Contributor
Posts: 9
Registered: ‎08-10-2017

Define function in JS console and call it in the BI Map

Dear Community!

 

Is it possilbe to write a function for a BI Map in the costumize JS console and call this function for the definition of "default measures"

My Problem in detail:

I want to calculate the average of certain selected features or for one column but I didn't find a way to ignore zero values for this calculation.

My consideration was to define a function "countZeros" in the JS concole and call it for the definition of the "default measures", but it won't work?

Has anyone an idea to solve this problem or is there a better way to calculate the average without zero values?

 

 

Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Development Ticket through our Development Ticket Portal.