cognos-10

Convert IBM Cognos SQL which contains a filter to Microsoft SQL Server Query

喜夏-厌秋 提交于 2020-08-05 09:51:11
问题 I'm trying to convert IBM Cognos SQL which contains a filter to Microsoft SQL Server Query. I tried to apply the filter in the Microsoft SQL Server Query, but it didn't work. Here the IBM Cognos Query: IBM Cognos SQL select rank() over ( at client__iacode.ia_code order by XCOUNT(client_document.client_document_id for client__iacode.ia_code ) desc nulls last) as Rank_IA, client__iacode.ia_code as IA_Code, client__iacode.ia_short_descr as IA_Short_Descr, XCOUNT(client_document.client_document

Send Cognos Burst Reporting to multiple emails

佐手、 提交于 2020-03-24 12:04:30
问题 I have a few reports that need to be sent form hourly certain intervals during the day. I know how to schedule burst jobs and they send out fine, but i am being tasked with sending that same exact thing to "CC" that persons mananagerl1 and managerl2 Lets say part of the email table looks like Name | mgr1 | mgr2 | email | mgr1eml | mgr2email normally i burst to email and group by name how would i burst to all three emails without having to create 3 different reports? 回答1: It's been a while,

Cognos Report Studio (case statement) - Syntax error

﹥>﹥吖頭↗ 提交于 2020-01-25 00:52:53
问题 I have a case statement in Cognos report studio in which if the date is 1st of the current month of previous year then it should fetch data for last whole month (1 to the last date) data of the previous year. I think it is a syntax error. Below is the code that I'm sharing.Thanks in advance! Please let me know in case of concerns. case when [Corporate Calendar_BL].[Receive Date Details].[Receive Date - RD] = _first_of_month(_add_years(current_date,-1)) then [Corporate Calendar_BL].[Receive

Using case when in Cognos data item

痴心易碎 提交于 2019-12-13 06:35:09
问题 I have put this in the Data Filter expression and it causes error when running the report. What I'm trying to achieve here is that when the Force Expired column has a value of Force then the action on the two other columns such as ([Policy Expiration Date] and [Policy Effective Date] should use the logic used against the current_date. case when [Force Expired] = 'Inforce' then ([Policy Expiration Date] >= current_date and [Policy Effective Date] <= current_date) else end 回答1: Cognos is

IBM Cognos Report Studio: Arbitrary errors when using IF / CASE on an TM1 cube

这一生的挚爱 提交于 2019-12-11 04:14:39
问题 I am having some trouble with an IF / CASE expression when consuming a TM1 cube in Report Studio. I am "filtering" a crosstab with a tuple function that includes an element from the "branch" dimension. The users can navigate through this branch hierarchy by a value prompt I have made. Hence, the users have requested that they at every time can see where they are in the branch hierarchy (i.e. see the path from root to current node). I have therefore tried to make two query expressions which at

Cognos Calculate Variance Crosstab (Dimensional)

允我心安 提交于 2019-12-07 19:04:50
问题 This is very similar to Cognos Calculate Variance Crosstab (Relational), but my data source is dimensional. I have a simple crosstab such as this: | 04-13-2013 | 04-13-2014 --------------------------------------- Sold | 75 | 50 Purchased | 10 | 15 Repaired | 33 | 44 Filter: The user selects 1 date and then we include that date plus 1 year ago. Dimension: The date is the day level in a YQMD Hierarchy. Measures: We are showing various measures from a Measure Dimension. Sold Purchased Repaired

Cognos Calculate Variance Crosstab (Dimensional)

夙愿已清 提交于 2019-12-06 13:28:38
This is very similar to Cognos Calculate Variance Crosstab (Relational) , but my data source is dimensional. I have a simple crosstab such as this: | 04-13-2013 | 04-13-2014 --------------------------------------- Sold | 75 | 50 Purchased | 10 | 15 Repaired | 33 | 44 Filter: The user selects 1 date and then we include that date plus 1 year ago. Dimension: The date is the day level in a YQMD Hierarchy. Measures: We are showing various measures from a Measure Dimension. Sold Purchased Repaired Here is what is looks like in report studio: | <#Day#> | <#Day#> --------------------------------------