Skip to main content
Solved

Measuring the size of an application

  • September 14, 2023
  • 2 replies
  • 126 views

Forum|alt.badge.img+1

Hello here!

I hope that you are well.

Please, is there a way to evaluate the size of an application (like Mb for excel) or the number of calculations made in a Metrics? 

Sometimes, the calculations take time and I would like to know from where I can remove complexity/heaviness.

 

Many thanks

Best answer by Nathan

Hey
you can use COUNTOF(metric) to know how many cells there is.

Pigment being a sparse engine, it is important to not fill more cells than there actually is.
For example the classic ISDEFINED(metric, result, 0) is a problem, filling every empty cell with 0

 

See some principles here

Top Tips for modeling in Pigment - Part 2: Performance Optimisation | Community (gopigment.com)

2 replies

Nathan
Employee
Forum|alt.badge.img+12
  • Employee
  • Answer
  • September 15, 2023

Hey
you can use COUNTOF(metric) to know how many cells there is.

Pigment being a sparse engine, it is important to not fill more cells than there actually is.
For example the classic ISDEFINED(metric, result, 0) is a problem, filling every empty cell with 0

 

See some principles here

Top Tips for modeling in Pigment - Part 2: Performance Optimisation | Community (gopigment.com)


Forum|alt.badge.img+1
  • Author
  • Wallflower
  • September 15, 2023

Many thanks Nathan!