20.07.2014 Views

COGNOS Business Intelligence Series 7

pes.pdf

pes.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 4: Deploy Cubes and Reports<br />

Format Parameter<br />

When you have located the reference Ids in the code, you can identify the category codes for<br />

the URL specification. In our code example, the following table shows the filter information.<br />

Dimension Filter RefID Category Code<br />

Years 277 19970101-19971231<br />

Products 413 Tents<br />

MEASURES 4 Measures<br />

Note: The category code for MEASURES is the<br />

default (the first available measure), as no filter was<br />

specified on this dimension.<br />

9. Build the Filter parameter for the URL, using its string format.<br />

For example, using our code example, the Filter parameter would be:<br />

FILTER=Years19970101-19971231ProductsTents<br />

As characters cannot appear in a URL and are typically replaced by the ASCII code<br />

(%09), the full URL specification for our example would appear as:<br />

http:////cgi-bin/ppdscgi.exe?TARGET=Great%20Outdoors&FILTER=Years%091997010<br />

1-19971231%09Products%09Tents&FORMAT=HTML<br />

3 rd Party Cubes<br />

You can use the same steps to build the filter parameter for 3 rd party cubes, however, the codes<br />

may be quite different.<br />

For example, the URL specification for a Microsoft Analysis Services cube might look like the<br />

following:<br />

http:////cgi-bin/ppdscgi.exe?TARGET=%2FImported%20Reports%2FFS%20Account%20Per<br />

formance%2F69e_29162&FILTER=2[Financial]%096[Financial].[FS].[Sell%20To%20Account].<br />

%26[10937]%092[Time]%096[Time].[Fiscal].[Year].%26[20030929]&FORMAT=HTML<br />

This URL passes an Account ID from a Customer Relationship Management (CRM) system to<br />

generate a filtered PowerPlay Web report. The first parameter (TARGET) defines the report in the<br />

Imported Reports/FS/Account Performance folder. The Account ID specified in the URL is<br />

[10937] from the Dimension defined by code 2[Financial] and the category defined by code<br />

6[Financial].[FS].[Sell to Account]. The URL also contains a filter on the Time dimension<br />

referenced by code 2[Time], specifying a filter on a particular fiscal year.<br />

The format parameter is required and must be specified as either HTML or PDF. There is no<br />

default.<br />

Example<br />

A full URL specification might appear as:<br />

http:////cgi-bin/ppdscgi.exe?TARGET=Great%20Outdoors&FILTER=Years%0919970101-19<br />

971231%09Products%09Tents&FORMAT=HTML<br />

Improve Web Performance<br />

You can improve the way PowerPlay Web Explorer displays cube data by changing the Zero<br />

Suppression setting in PowerPlay Enterprise Server. The Zero Suppression setting tells Enterprise<br />

Server whether or not to display calculated zero values.<br />

Performance can be enhanced by disabling the suppression of computed zeros.<br />

Enterprise Server Guide 57

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!