<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: DWH report with date prompt in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/DWH-report-with-date-prompt/m-p/126284#M22668</link>
    <description>&lt;P&gt;Sorry for the late reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This turns out to be a bit of a big question.&amp;nbsp; I will try to steer you toward breaking it into some pieces.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would create a query just to collect the latest date in the part of the DWH you're using.&amp;nbsp; Note that in dwh_performance, this will probably be one day earlier than in dwh_capacity so you will want to verify that the date that comes back does have the data you need.&amp;nbsp; Because I habitually use SQL, I'd do something like "select max(fulldate) from date_dimension where latest=1".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once you have that query, you can use its output as the default value in your date prompt.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The other reply will provide some guidance on how to get the prompt put together.&amp;nbsp; That's a bit of a process.&amp;nbsp; Haven't used that how-to myself.&amp;nbsp; Googling around for date prompt in Cognos should help.&amp;nbsp; If you can get Cognos to understand that your'e prompting for a date, it should provide&amp;nbsp; a calendar interface for the selection.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Dec 2016 02:44:37 GMT</pubDate>
    <dc:creator>moechnig</dc:creator>
    <dc:date>2016-12-15T02:44:37Z</dc:date>
    <item>
      <title>DWH report with date prompt</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/DWH-report-with-date-prompt/m-p/125687#M22559</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I m trying to build a report with a date prompt feature.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my sql table is something like that&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;id,object,kpi1,kpi2,kpi3,date&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for each date, I have for each object a list of kpi&lt;/P&gt;&lt;P&gt;a select object,date from table can give that&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;storage1,date1&lt;/P&gt;&lt;P&gt;storage2,date1&lt;/P&gt;&lt;P&gt;storage1,date2&lt;/P&gt;&lt;P&gt;storage2,date2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;storage1,date3&lt;/P&gt;&lt;P&gt;storage2,date3&lt;/P&gt;&lt;P&gt;storage1,date4&lt;/P&gt;&lt;P&gt;storage2,date4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I 'd like to have by default the report to use the latest date ( max(date) ) and the ability to use the dateprompt to select on specific date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess I have to use a parameter to the query, and set this parameter at the latest date by default ...&lt;/P&gt;&lt;P&gt;but I don't know how.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help&lt;/P&gt;&lt;P&gt;Fox&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 18:09:24 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/DWH-report-with-date-prompt/m-p/125687#M22559</guid>
      <dc:creator>pfrenard</dc:creator>
      <dc:date>2025-06-04T18:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: DWH report with date prompt</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/DWH-report-with-date-prompt/m-p/125751#M22571</link>
      <description>&lt;P&gt;Dynamic date prompts in Cognos are not as straightforward as one might hope. IBM has a developer proven practices article that goes through how to use JavaScript to achieve something similar to what you're trying to achieve: &lt;A href="http://www.ibm.com/developerworks/library/ba-pp-reporting-scripting_techniques-page634/" target="_blank"&gt;http://www.ibm.com/developerworks/library/ba-pp-reporting-scripting_techniques-page634/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I haven't tried it myself, but hopefully it gets you on your way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Bryan&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2016 11:50:32 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/DWH-report-with-date-prompt/m-p/125751#M22571</guid>
      <dc:creator>hoffman</dc:creator>
      <dc:date>2016-11-29T11:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: DWH report with date prompt</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/DWH-report-with-date-prompt/m-p/126284#M22668</link>
      <description>&lt;P&gt;Sorry for the late reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This turns out to be a bit of a big question.&amp;nbsp; I will try to steer you toward breaking it into some pieces.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would create a query just to collect the latest date in the part of the DWH you're using.&amp;nbsp; Note that in dwh_performance, this will probably be one day earlier than in dwh_capacity so you will want to verify that the date that comes back does have the data you need.&amp;nbsp; Because I habitually use SQL, I'd do something like "select max(fulldate) from date_dimension where latest=1".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once you have that query, you can use its output as the default value in your date prompt.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The other reply will provide some guidance on how to get the prompt put together.&amp;nbsp; That's a bit of a process.&amp;nbsp; Haven't used that how-to myself.&amp;nbsp; Googling around for date prompt in Cognos should help.&amp;nbsp; If you can get Cognos to understand that your'e prompting for a date, it should provide&amp;nbsp; a calendar interface for the selection.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2016 02:44:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/DWH-report-with-date-prompt/m-p/126284#M22668</guid>
      <dc:creator>moechnig</dc:creator>
      <dc:date>2016-12-15T02:44:37Z</dc:date>
    </item>
  </channel>
</rss>

