Zero Suppression - Fed Numeric Values Being Suppressed

Post Reply
mystrJeff
Posts: 5
Joined: Mon Feb 23, 2015 9:32 pm
OLAP Product: Cognos TM1
Version: 10.2
Excel Version: 2007

Zero Suppression - Fed Numeric Values Being Suppressed

Post by mystrJeff »

Hi All,

TM1 Version: 10.2
Issue: When selecting only numeric measures in a cube and turning on zero suppression, TM1 gives the "No values available" popup box. However, when I "Check Feeders", the measures are fed. When I add a String measure in the subset and turn on zero suppression, all values appear.

In the Cube Rule, SKIPCHECK, FEEDSTIRNGS are both on. This happens for any numeric value in the cube, but as an example of one of the rules being used:

Code: Select all

['yrs_elig']=N: DB('cfg_emp_inpt', !fy, !emp, 'yrs_elig_inpt');
Where "yrs_elig_inpt" is a manually entered field and is feeding into the current cube.

Here are the settings being used in the tm1s.cfg file:

Code: Select all

##  security ##

IntegratedSecurityMode=2
ServerLogging=T
AuditLogOn=T
AuditLogMaxFileSize= 100 MB
AuditLogUpdateInterval=60

GroupsCreationLimit=10
UseSSL=T

## perf ##

ParallelInteraction=T
PersistentFeeders=F
ForceReevaluationOfFeedersForFedCellsOnDataChange=F
ReevaluateConditionalFeeders=F

MTQ = 2
AllRuleCalcStargateOptimization = T
CalculationThresholdForStorage = 30
AllowSeparateNandCRules = T


## standard ##

Language=eng
Protocol=tcp
NetworkFrame=   
SaveTime=   
DownTime=   
RuleTraceOn=   
RunningInBackground=T
MaximumViewSize=4000

Has anyone experienced this before? Am I missing a setting in the tm1s.cfg file?

Thanks for your time!
User avatar
qml
MVP
Posts: 1098
Joined: Mon Feb 01, 2010 1:01 pm
OLAP Product: TM1 / Planning Analytics
Version: 2.0.9 and all previous
Excel Version: 2007 - 2016
Location: London, UK, Europe

Re: Zero Suppression - Fed Numeric Values Being Suppressed

Post by qml »

Could you please post your feeder statement too? Better yet, could you post your entire rule file (or both rule files if this is an intercube rule) and the dimensionality of your cube(s)?
Kamil Arendt
mystrJeff
Posts: 5
Joined: Mon Feb 23, 2015 9:32 pm
OLAP Product: Cognos TM1
Version: 10.2
Excel Version: 2007

Re: Zero Suppression - Fed Numeric Values Being Suppressed

Post by mystrJeff »

Cube in question:

Code: Select all


  ################################################################################
  ## fy15_rpt_emp
  ################################################################################
  SKIPCHECK;
  FEEDSTRINGS;
  ################################################################################

  []=S: IF( ISLEAF=0, '', continue );

  ['emp_name']=S: DB('cfg_emp_inpt', !fy, !emp, !fy15_rpt_emp.msr );
  ['emp_is_elig']=N: DB('cfg_emp_inpt', !fy, !emp, !fy15_rpt_emp.msr);
  []=N: IF( ['emp_is_elig']=0, 0, continue );
  
  ['yrs_elig']=N: DB('cfg_emp_inpt', !fy, !emp, !fy15_rpt_emp.msr | '_inpt' );
  ['ttl_sal']=N: DB('cfg_emp_inpt', !fy, !emp, !fy15_rpt_emp.msr | '_inpt' );
  ['sal_incrs_pct']=N: DB('cfg_emp_inpt', !fy, !emp, !fy15_rpt_emp.msr );
  
  ['sal_bonus']=N: ['ttl_sal'] + ( ['ttl_sal'] * ['sal_incrs_pct'] );

  ########################################################

  FEEDERS;
  ['emp_is_elig']=>
      ['emp_name']
    , ['sal_bonus']
    , ['sal_incrs_pct']
    , ['ttl_sal']
    , ['yrs_elig']
  ;    
  

Cube the data is pulling from:

Code: Select all


  ################################################################################
  ## cfg_emp_inpt
  ################################################################################
  SKIPCHECK;
  FEEDSTRINGS;
  ################################################################################

  []=S: IF( ISLEAF=0, '', continue );

  ['sal_incrs_pct']=N: DB('cfg_emp_inpt', !fy, !emp, !cfg_emp_inpt.msr | '_inpt' ) \ 100;
  
  ########################################################

  FEEDERS;
  ['emp_is_elig']=>
    DB('fy15_rpt_emp', !fy, !emp, !cfg_emp_inpt.msr);
  ;    
  
cfg_emp_inpt is mainly a user input cube. Each cube has the years, employee ID, and measures dimensions.

The feeder is just a block feeder. "emp_is_elig" is a numeric flag, either 1 or 0.

Thanks for your time.
User avatar
qml
MVP
Posts: 1098
Joined: Mon Feb 01, 2010 1:01 pm
OLAP Product: TM1 / Planning Analytics
Version: 2.0.9 and all previous
Excel Version: 2007 - 2016
Location: London, UK, Europe

Re: Zero Suppression - Fed Numeric Values Being Suppressed

Post by qml »

You have problems right at the top of both of your rule files. If you use FEEDSTRINGS it needs to be on the first line, before SKIPCHECK. It's right there in the documentation for that keyword.

Change that and it might start working for you. If not, we'll have to dissect your rules a bit more, especially the relationship between the dimensions cfg_emp_inpt.msr and fy15_rpt_emp.msr.
Kamil Arendt
lotsaram
MVP
Posts: 3705
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: Zero Suppression - Fed Numeric Values Being Suppressed

Post by lotsaram »

qml wrote:You have problems right at the top of both of your rule files. If you use FEEDSTRINGS it needs to be on the first line, before SKIPCHECK. It's right there in the documentation for that keyword.
Documentation might have changed. I seem to recall reading that Feedstrings can be the first OR second statement in a rule and it doesn't matter if it comes before or after Skipcheck. I have Skipckeck first in all my rules (without any apparent ill effect).
Please place all requests for help in a public thread. I will not answer PMs requesting assistance.
mystrJeff
Posts: 5
Joined: Mon Feb 23, 2015 9:32 pm
OLAP Product: Cognos TM1
Version: 10.2
Excel Version: 2007

Re: Zero Suppression - Fed Numeric Values Being Suppressed

Post by mystrJeff »

You have problems right at the top of both of your rule files. If you use FEEDSTRINGS it needs to be on the first line, before SKIPCHECK. It's right there in the documentation for that keyword.

Change that and it might start working for you. If not, we'll have to dissect your rules a bit more, especially the relationship between the dimensions cfg_emp_inpt.msr and fy15_rpt_emp.msr.
Unfortunately this did not change anything. Thanks for the suggestion though!
Post Reply