<?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: Information Map Prompts with empty values and Web Report summing those. in SAS Web Report Studio</title>
    <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Information-Map-Prompts-with-empty-values-and-Web-Report-summing/m-p/29950#M463</link>
    <description>For problem 1 - look into adding NONEMPTYCROSSJOIN of something similar into your MDX code. Example: &lt;A href="http://msdn.microsoft.com/en-us/library/ms144797.aspx" target="_blank"&gt;http://msdn.microsoft.com/en-us/library/ms144797.aspx&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
For problem 2 - in view mode, select the Data menu &amp;amp; uncheck the box 'Include members with only missing values' and see if that corrects the issue. Otherwise, in the OLAP cube itself, set up this dimension as ragged (with IGNORE_EMPTY option) so missing members are skipped. &lt;A href="http://support.sas.com/documentation/cdl/en/olapug/59574/HTML/default/viewer.htm#a003212362.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/olapug/59574/HTML/default/viewer.htm#a003212362.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
~ Angela</description>
    <pubDate>Tue, 15 Mar 2011 17:59:02 GMT</pubDate>
    <dc:creator>AngelaHall</dc:creator>
    <dc:date>2011-03-15T17:59:02Z</dc:date>
    <item>
      <title>Information Map Prompts with empty values and Web Report summing those.</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Information-Map-Prompts-with-empty-values-and-Web-Report-summing/m-p/29949#M462</link>
      <description>Hi Guys,&lt;BR /&gt;
&lt;BR /&gt;
Problem 1. When I create a prompt in an information map based on a two dimensional dataset that&lt;BR /&gt;
is created by submitting MDX to an OLAP cube I later get in my selection also empty values.&lt;BR /&gt;
Empty values are in the dataset thats just how it works when it comes from an OLAP cubes (summarized data).&lt;BR /&gt;
How can I avoid displaying those empty value in my prompts?&lt;BR /&gt;
&lt;BR /&gt;
Problem 2. Those empty values also show up on my OLAP report and cause the wrong summing of values:&lt;BR /&gt;
&lt;BR /&gt;
--Month--Day--Sum of Fact--Total&lt;BR /&gt;
____1_____________111______111&lt;BR /&gt;
____1_____26______111______111&lt;BR /&gt;
&lt;BR /&gt;
If I know put the --Day-- in the hidden area (web report studio)&lt;BR /&gt;
&lt;BR /&gt;
--Month--Day--Sum of Fact--Total&lt;BR /&gt;
____1_____26______111______222&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
You can see the total is wrong. I dont want that my calculation sum individual figures&lt;BR /&gt;
and sub totals because the sub totals already are totals of individual figures.&lt;BR /&gt;
I hope this relates to problem 1.&lt;BR /&gt;
&lt;BR /&gt;
I hope my problem can be understoon.&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
metalray</description>
      <pubDate>Tue, 15 Mar 2011 14:55:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Information-Map-Prompts-with-empty-values-and-Web-Report-summing/m-p/29949#M462</guid>
      <dc:creator>metalray</dc:creator>
      <dc:date>2011-03-15T14:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Information Map Prompts with empty values and Web Report summing those.</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Information-Map-Prompts-with-empty-values-and-Web-Report-summing/m-p/29950#M463</link>
      <description>For problem 1 - look into adding NONEMPTYCROSSJOIN of something similar into your MDX code. Example: &lt;A href="http://msdn.microsoft.com/en-us/library/ms144797.aspx" target="_blank"&gt;http://msdn.microsoft.com/en-us/library/ms144797.aspx&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
For problem 2 - in view mode, select the Data menu &amp;amp; uncheck the box 'Include members with only missing values' and see if that corrects the issue. Otherwise, in the OLAP cube itself, set up this dimension as ragged (with IGNORE_EMPTY option) so missing members are skipped. &lt;A href="http://support.sas.com/documentation/cdl/en/olapug/59574/HTML/default/viewer.htm#a003212362.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/olapug/59574/HTML/default/viewer.htm#a003212362.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
~ Angela</description>
      <pubDate>Tue, 15 Mar 2011 17:59:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Information-Map-Prompts-with-empty-values-and-Web-Report-summing/m-p/29950#M463</guid>
      <dc:creator>AngelaHall</dc:creator>
      <dc:date>2011-03-15T17:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: Information Map Prompts with empty values and Web Report summing those.</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Information-Map-Prompts-with-empty-values-and-Web-Report-summing/m-p/29951#M464</link>
      <description>Hi Angela,&lt;BR /&gt;
Thanks for that.&lt;BR /&gt;
I used the NONEMPTYCROSSJOIN. Certainly helpfull and many thanks for the idea.&lt;BR /&gt;
I took the issue a bit further and even for dynamic prompts based on relational data sources&lt;BR /&gt;
I see an empty value in the selection list. So this problem is not limited to OLAP prompts!!&lt;BR /&gt;
&lt;BR /&gt;
--Select Year--&lt;BR /&gt;
------       -----&lt;BR /&gt;
------2001-----&lt;BR /&gt;
------2002-----&lt;BR /&gt;
&lt;BR /&gt;
I dont know where that [       ] empty value comes from but I suspect it has to do with prompts.&lt;BR /&gt;
Selecting this empty value in a prompt causes a different behaviour in EG compared to a Web Report.&lt;BR /&gt;
My web report is based on an info map and the empty values are also selectable in my info map (probably means that the problem is not withint WRS).

Message was edited by: metalray</description>
      <pubDate>Thu, 17 Mar 2011 10:24:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Information-Map-Prompts-with-empty-values-and-Web-Report-summing/m-p/29951#M464</guid>
      <dc:creator>metalray</dc:creator>
      <dc:date>2011-03-17T10:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Information Map Prompts with empty values and Web Report summing those.</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Information-Map-Prompts-with-empty-values-and-Web-Report-summing/m-p/29952#M465</link>
      <description>I think this comes from the Default Value. If you are in &lt;B&gt;Edit Prompt&lt;/B&gt;, at the bottom of the &lt;B&gt;Prompt Type and Values&lt;/B&gt; screen you will see the Sort Order and Default Value boxes. Select a Default Value and see if that improves the prompt.&lt;BR /&gt;
&lt;BR /&gt;
~ Angela</description>
      <pubDate>Thu, 17 Mar 2011 14:41:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Information-Map-Prompts-with-empty-values-and-Web-Report-summing/m-p/29952#M465</guid>
      <dc:creator>AngelaHall</dc:creator>
      <dc:date>2011-03-17T14:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: Information Map Prompts with empty values and Web Report summing those.</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Information-Map-Prompts-with-empty-values-and-Web-Report-summing/m-p/29953#M466</link>
      <description>Hello Angela,&lt;BR /&gt;
it did not, a default value was selected but at the top we still had the white empty value. we dont want default values because for the period prompts that would mean chaning the default values every year, quarter, month, week , day.&lt;BR /&gt;
thanks for the suggestion. In this case we need to pre/auto-select just the first one (it is sorted)&lt;BR /&gt;
&lt;BR /&gt;
problem1:&lt;BR /&gt;
SELECT&lt;BR /&gt;
    NON EMPTY { [Measures].[FACTSUM] } ON COLUMNS,&lt;BR /&gt;
    NON EMPTY CrossJoin&lt;BR /&gt;
    (NONEMPTYCROSSJOIN &lt;BR /&gt;
    (NONEMPTYCROSSJOIN &lt;BR /&gt;
    ({ descendants([DIM_KPI].[All DIM_KPI]) }, &lt;BR /&gt;
     { descendants([DIM_PERIOD].[HRH_CALENDERPERIOD].[All HRH_CALENDERPERIOD]) }&lt;BR /&gt;
    ), &lt;BR /&gt;
    { [DIM_Customer].[Value].AllMembers }), &lt;BR /&gt;
    { descendants([DIM_SZENARIO].[All DIM_SZENARIO]) }&lt;BR /&gt;
    ) ON ROWS&lt;BR /&gt;
FROM&lt;BR /&gt;
    [mysmallcube]&lt;BR /&gt;
&lt;BR /&gt;
the output is&lt;BR /&gt;
KPI_DESC---KPI---YEAR---...&lt;BR /&gt;
_________________2005___...&lt;BR /&gt;
Revenue__________2005___...&lt;BR /&gt;
Revenue____RV____2004___...&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
You can see that I got in various variables empty values.&lt;BR /&gt;
I specified a string for ragged hierarchies on cube and dimension level but&lt;BR /&gt;
this "miss" string does not appear so that does not seem to be the proble.

Message was edited by: metalray</description>
      <pubDate>Thu, 17 Mar 2011 15:17:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Information-Map-Prompts-with-empty-values-and-Web-Report-summing/m-p/29953#M466</guid>
      <dc:creator>metalray</dc:creator>
      <dc:date>2011-03-17T15:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: Information Map Prompts with empty values and Web Report summing those.</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Information-Map-Prompts-with-empty-values-and-Web-Report-summing/m-p/29954#M467</link>
      <description>I solved my issue now by making it a SAs dataset and seeting some filters:&lt;BR /&gt;
&lt;BR /&gt;
create view mytable as select * from connection to olap&lt;BR /&gt;
(&lt;BR /&gt;
SELECT&lt;BR /&gt;
    NON EMPTY { [Measures].[FACTSUM] } ON COLUMNS,&lt;BR /&gt;
    NON EMPTY CrossJoin&lt;BR /&gt;
    (NONEMPTYCROSSJOIN &lt;BR /&gt;
    (NONEMPTYCROSSJOIN &lt;BR /&gt;
    ({ descendants([DIM_KPI].[All DIM_KPI]) }, &lt;BR /&gt;
     { descendants([DIM_PERIOD].[HRH_CALENDERPERIOD].[All HRH_CALENDERPERIOD]) }&lt;BR /&gt;
    ), &lt;BR /&gt;
    { [DIM_Customer].[Value].AllMembers }), &lt;BR /&gt;
    { descendants([DIM_SZENARIO].[All DIM_SZENARIO]) }&lt;BR /&gt;
    ) ON ROWS&lt;BR /&gt;
FROM&lt;BR /&gt;
    [mysmallcube]&lt;BR /&gt;
)&lt;BR /&gt;
 AS t1&lt;BR /&gt;
WHERE t1.KPI_DESC NOT IS MISSING AND t1.KPI NOT IS MISSING AND t1.YEAR NOT IS MISSING;</description>
      <pubDate>Fri, 18 Mar 2011 14:56:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Information-Map-Prompts-with-empty-values-and-Web-Report-summing/m-p/29954#M467</guid>
      <dc:creator>metalray</dc:creator>
      <dc:date>2011-03-18T14:56:01Z</dc:date>
    </item>
  </channel>
</rss>

