Amount not seen during Zero Suppression

Post Reply
appleglaze28
Regular Participant
Posts: 269
Joined: Tue Apr 21, 2009 3:43 am
OLAP Product: Cognos TM1, Planning
Version: 9.1 SP3 9.4 MR1 FP1 9.5
Excel Version: 2003

Amount not seen during Zero Suppression

Post by appleglaze28 »

I'd like to ask why values dervied using IF statement where the value being compared is a string?

This is the rules I got for the IF statement:

Code: Select all

['Amount' ] = N: IF (DB('plan_manpower_cost', !base_day_month, !base_year, !base_version, !base_service_type, 'Hours Status')@='1st 8 Hours',DB('staging_sevice_hour_type_rate', !base_day_month, !base_year, !base_version, !base_service_type, '1st 8 Hours', 'Actual Rate'), continue);
['Amount' ] = N: IF (DB('plan_manpower_cost', !base_day_month, !base_year, !base_version, !base_service_type, 'Hours Status')@='9 Hours',DB('staging_sevice_hour_type_rate', !base_day_month, !base_year, !base_version, !base_service_type, '9 Hours', 'Actual Rate'), continue);
['Amount' ] = N: IF (DB('plan_manpower_cost', !base_day_month, !base_year, !base_version, !base_service_type, 'Hours Status')@='10 Hours',DB('staging_sevice_hour_type_rate', !base_day_month, !base_year, !base_version, !base_service_type, '10 Hours', 'Actual Rate'), continue);
['Amount' ] = N: IF (DB('plan_manpower_cost', !base_day_month, !base_year, !base_version, !base_service_type, 'Hours Status')@='11 Hours',DB('staging_sevice_hour_type_rate', !base_day_month, !base_year, !base_version, !base_service_type, '11 Hours', 'Actual Rate'), continue);
['Amount' ] = N: IF (DB('plan_manpower_cost', !base_day_month, !base_year, !base_version, !base_service_type, 'Hours Status')@='12 Hours',DB('staging_sevice_hour_type_rate', !base_day_month, !base_year, !base_version, !base_service_type, '12 Hours', 'Actual Rate'), continue);
['Amount' ] = N: IF (DB('plan_manpower_cost', !base_day_month, !base_year, !base_version, !base_service_type, 'Hours Status')@='13 Hours',DB('staging_sevice_hour_type_rate', !base_day_month, !base_year, !base_version, !base_service_type, '13 Hours', 'Actual Rate'), continue);
['Amount' ] = N: IF (DB('plan_manpower_cost', !base_day_month, !base_year, !base_version, !base_service_type, 'Hours Status')@='14 Hours',DB('staging_sevice_hour_type_rate', !base_day_month, !base_year, !base_version, !base_service_type, '14 Hours', 'Actual Rate'), continue);
['Amount' ] = N: IF (DB('plan_manpower_cost', !base_day_month, !base_year, !base_version, !base_service_type, 'Hours Status')@='15 Hours',DB('staging_sevice_hour_type_rate', !base_day_month, !base_year, !base_version, !base_service_type, '15 Hours', 'Actual Rate'), continue);
['Amount' ] = N: IF (DB('plan_manpower_cost', !base_day_month, !base_year, !base_version, !base_service_type, 'Hours Status')@='16 Hours',DB('staging_sevice_hour_type_rate', !base_day_month, !base_year, !base_version, !base_service_type, '16 Hours', 'Actual Rate'), continue);
['Amount' ] = N: IF (DB('plan_manpower_cost', !base_day_month, !base_year, !base_version, !base_service_type, 'Hours Status')@='17 Hours',DB('staging_sevice_hour_type_rate', !base_day_month, !base_year, !base_version, !base_service_type, '17 Hours', 'Actual Rate'), continue);
['Amount' ] = N: IF (DB('plan_manpower_cost', !base_day_month, !base_year, !base_version, !base_service_type, 'Hours Status')@='18 Hours',DB('staging_sevice_hour_type_rate', !base_day_month, !base_year, !base_version, !base_service_type, '18 Hours', 'Actual Rate'), continue);
['Amount' ] = N: IF (DB('plan_manpower_cost', !base_day_month, !base_year, !base_version, !base_service_type, 'Hours Status')@='19 Hours',DB('staging_sevice_hour_type_rate', !base_day_month, !base_year, !base_version, !base_service_type, '19 Hours', 'Actual Rate'), continue);
['Amount' ] = N: IF (DB('plan_manpower_cost', !base_day_month, !base_year, !base_version, !base_service_type, 'Hours Status')@='20 Hours',DB('staging_sevice_hour_type_rate', !base_day_month, !base_year, !base_version, !base_service_type, '20 Hours', 'Actual Rate'), continue);
['Amount' ] = N: IF (DB('plan_manpower_cost', !base_day_month, !base_year, !base_version, !base_service_type, 'Hours Status')@='21 Hours',DB('staging_sevice_hour_type_rate', !base_day_month, !base_year, !base_version, !base_service_type, '20 Hours', 'Actual Rate'), continue);
['Amount' ] = N: IF (DB('plan_manpower_cost', !base_day_month, !base_year, !base_version, !base_service_type, 'Hours Status')@='22 Hours',DB('staging_sevice_hour_type_rate', !base_day_month, !base_year, !base_version, !base_service_type, '20 Hours', 'Actual Rate'), continue);
['Amount' ] = N: IF (DB('plan_manpower_cost', !base_day_month, !base_year, !base_version, !base_service_type, 'Hours Status')@='23 Hours',DB('staging_sevice_hour_type_rate', !base_day_month, !base_year, !base_version, !base_service_type, '20 Hours', 'Actual Rate'), continue);
['Amount' ] = N: IF (DB('plan_manpower_cost', !base_day_month, !base_year, !base_version, !base_service_type, 'Hours Status')@='24 Hours',DB('staging_sevice_hour_type_rate', !base_day_month, !base_year, !base_version, !base_service_type, '20 Hours', 'Actual Rate'), continue);
Attachments
manpower.jpg
manpower.jpg (90.8 KiB) Viewed 4641 times
User avatar
Steve Vincent
Site Admin
Posts: 1054
Joined: Mon May 12, 2008 8:33 am
OLAP Product: TM1
Version: 10.2.2 FP1
Excel Version: 2010
Location: UK

Re: Amount not seen during Zero Suppression

Post by Steve Vincent »

do you have any feeders for those statements?
If this were a dictatorship, it would be a heck of a lot easier, just so long as I'm the dictator.
Production: Planning Analytics 64 bit 2.0.5, Windows 2016 Server. Excel 2016, IE11 for t'internet
User avatar
jim wood
Site Admin
Posts: 3958
Joined: Wed May 14, 2008 1:51 pm
OLAP Product: TM1
Version: PA 2.0.7
Excel Version: Office 365
Location: 37 East 18th Street New York
Contact:

Re: Amount not seen during Zero Suppression

Post by jim wood »

Makes sense. Over feeding would cause something like that.
Struggling through the quagmire of life to reach the other side of who knows where.
Shop at Amazon
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
kpk
MVP
Posts: 214
Joined: Tue Nov 11, 2008 11:57 pm
OLAP Product: TM1, CX
Version: TM1 7x 8x 9x 10x CX 9.5 10.1
Excel Version: XP 2003 2007 2010
Location: Hungary

Re: Amount not seen during Zero Suppression

Post by kpk »

jim wood wrote:Makes sense. Over feeding would cause something like that.
Over feeding does not cause this.
But under feeding (lack of necessary feeders).
Best Regards,
Peter
kpk
MVP
Posts: 214
Joined: Tue Nov 11, 2008 11:57 pm
OLAP Product: TM1, CX
Version: TM1 7x 8x 9x 10x CX 9.5 10.1
Excel Version: XP 2003 2007 2010
Location: Hungary

Re: Amount not seen during Zero Suppression

Post by kpk »

This it a lack of feeder issue.
You can see it from the 'Amount' of January.
It is 0 on your screenshot and you have only N level rules for the Amount dimension element.
Best Regards,
Peter
User avatar
jim wood
Site Admin
Posts: 3958
Joined: Wed May 14, 2008 1:51 pm
OLAP Product: TM1
Version: PA 2.0.7
Excel Version: Office 365
Location: 37 East 18th Street New York
Contact:

Re: Amount not seen during Zero Suppression

Post by jim wood »

kpk wrote:
jim wood wrote:Makes sense. Over feeding would cause something like that.
Over feeding does not cause this.
But under feeding (lack of necessary feeders).
Indeed thanks for the correction. I mis-read the question. A school boy error on my part, still we all make em.
Struggling through the quagmire of life to reach the other side of who knows where.
Shop at Amazon
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
appleglaze28
Regular Participant
Posts: 269
Joined: Tue Apr 21, 2009 3:43 am
OLAP Product: Cognos TM1, Planning
Version: 9.1 SP3 9.4 MR1 FP1 9.5
Excel Version: 2003

Re: Amount not seen during Zero Suppression

Post by appleglaze28 »

I'm still not too familiar how feeder regarding IF statement is written especially that the IF statement result is a String
kpk
MVP
Posts: 214
Joined: Tue Nov 11, 2008 11:57 pm
OLAP Product: TM1, CX
Version: TM1 7x 8x 9x 10x CX 9.5 10.1
Excel Version: XP 2003 2007 2010
Location: Hungary

Re: Amount not seen during Zero Suppression

Post by kpk »

IF does not matter.
Try the following statement:
['Number of employee']=>['Amount'],['TOTAL COST'];
This Feeder statement tells TM1 to calculate ['Amount'] and ['TOTAL COST'] measures when ['Number of employee'] is not 0.
Regards,
Peter
Best Regards,
Peter
Post Reply