Totals issue for manual expression as report column

J

JohnV

I am having a totals issue for an IE web pivot report based on cubes (using
OWC 10).

I could get totals for all data fields those come from Olap cubes except for
a manual report column ("Loss Constant" as shown in the below xml). This
one field should be a constant and should be a manual entry to the following
pivot table xml.

I am wondering if there is anyway that I could get total for this column by
making changews within this xml. I appreciate if I could get help from
anybody experienced is highly appreciated and relieves me..

Thanks
JohnV

<xml xmlns:x="urn:schemas-microsoft-com:eek:ffice:excel">
<x:pivotTable>
<x:OWCVersion>10.0.0.4109 </x:OWCVersion>
<x:CubeProvider>msolap.2</x:CubeProvider>
<x:DataMember>Store Chain Reporting</x:DataMember>
<x:Name>Microsoft Office PivotTable 10.0</x:Name>
<x:pivotField>
<x:Name>Store Name</x:Name>
<x:SourceName>[Store Chain].[Store Name]</x:SourceName>
</x:pivotField>
<x:pivotField>
<x:Name>Day Ending</x:Name>
<x:SourceName>[Date].[Day Ending]</x:SourceName>
<x:Orientation>Row</x:Orientation>
</x:pivotField>
<x:pivotField>
<x:Name>Sales Adjusted</x:Name>
<x:pLName>Sales Total</x:pLName>
<x:Orientation>Data</x:Orientation>
<x:Expression>([Store Chain].[Sales].[Sales Adjusted],[Measures].[Net
Sales])</x:Expression>
</x:pivotField>
<x:pivotField>
<x:Name>Loss Constant</x:Name>
<x:pLName>Loss Constant Value</x:pLName>
<x:Orientation>Data</x:Orientation>
<x:Expression>21488</x:Expression>
</x:pivotField>
</x:pivotTable>
</xml>

Report.
=========================
11/1/06 6 PM 528000 21488
11/2/06 5 PM 235000 21488
11/3/06 6 PM 420000 21488
....

Grand Total 1183000 21488

===========================
 
A

Alvin Bruney [MVP]

Have a look at custom functions in the pivot table object hierarchy, you can
set a fieldset and automatically sum it.

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
OWC Black book on Amazon and
www.lulu.com/owc
Look out for Excel Services for .NET coming soon
JohnV said:
Still hope to get some help on this

"JohnV" wrote in message news:[email protected]...
I am having a totals issue for an IE web pivot report based on cubes
(using OWC 10).

I could get totals for all data fields those come from Olap cubes except
for a manual report column ("Loss Constant" as shown in the below xml).
This one field should be a constant and should be a manual entry to the
following pivot table xml.

I am wondering if there is anyway that I could get total for this column
by making changews within this xml. I appreciate if I could get help from
anybody experienced is highly appreciated and relieves me..

Thanks
JohnV

<xml xmlns:x="urn:schemas-microsoft-com:eek:ffice:excel">
<x:pivotTable>
<x:OWCVersion>10.0.0.4109 </x:OWCVersion>
<x:CubeProvider>msolap.2</x:CubeProvider>
<x:DataMember>Store Chain Reporting</x:DataMember>
<x:Name>Microsoft Office PivotTable 10.0</x:Name>
<x:pivotField>
<x:Name>Store Name</x:Name>
<x:SourceName>[Store Chain].[Store Name]</x:SourceName>
</x:pivotField>
<x:pivotField>
<x:Name>Day Ending</x:Name>
<x:SourceName>[Date].[Day Ending]</x:SourceName>
<x:Orientation>Row</x:Orientation>
</x:pivotField>
<x:pivotField>
<x:Name>Sales Adjusted</x:Name>
<x:pLName>Sales Total</x:pLName>
<x:Orientation>Data</x:Orientation>
<x:Expression>([Store Chain].[Sales].[Sales Adjusted],[Measures].[Net
Sales])</x:Expression>
</x:pivotField>
<x:pivotField>
<x:Name>Loss Constant</x:Name>
<x:pLName>Loss Constant Value</x:pLName>
<x:Orientation>Data</x:Orientation>
<x:Expression>21488</x:Expression>
</x:pivotField>
</x:pivotTable>
</xml>

Report.
=========================
11/1/06 6 PM 528000 21488
11/2/06 5 PM 235000 21488
11/3/06 6 PM 420000 21488
...

Grand Total 1183000 21488

===========================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top