Hi,
I am using a TIMESUM average and I'm wondering if there is a way to exclude zeros from the average. Formula: TIMESUM(Build Factor, TIME.'Q2 FY16', TIME.'Q4 FY19', AVERAGE) Pictures attached.
Hi @nawalker56 ,
First of all, try not to use hard coded time references. There are multiple potential issues if you write the formula like that. Instead, use a module to define the start and end of the timesum and then use that (see image below).
For the average calculation, in the source module use another line item to mark a data point to be 1 or 0 depending on whether it is non zero or not. Then, in your destination calc module, use two timesums - one to sum the data and one to sum the non zero data point count and divide the first one by the second. The below screenshots and formula should help:
Non zero Data:
IF Data <> 0 THEN 1 ELSE 0
Final Formula:
TIMESUM(Source Data Module.Data, 'SYS01: TimeSum Bounds'.Start, 'SYS01: TimeSum Bounds'.End) / TIMESUM(Source Data Module.Non Zero, 'SYS01: TimeSum Bounds'.Start, 'SYS01: TimeSum Bounds'.End)
Hope this helps!
set format to 0 decimal places
and if still you want to hide the zero values then apply filter >0.
Hi all, i'm trying to import the file DEM01 csv but i don't know how to do it How do i select th evalue of DEM01 if the time value is on column? thanks a lot Andrea
Hi, Based on the regional settings, my default delimiter/separator for CSV files is a Semicolon. In the classic way of uploading a csv file, I was able to select the delimiter. When using ADO, I don't have the option to select a delimiter. Uploading a Semicolon delimited file returns an error, or an upload with only one…
Hi everyone, I'm looking to design a workflow and would appreciate your input or guidance on how to set this up effectively in Anaplan. So, the goal is: Once end users complete their data input, they should be able to trigger a process that: Notifies stakeholders via email with a link to a report. The report includes: A…