M
Mauricio@BVFG
Hi,
I am managing quite a few Portfolio Analyzer views on a weekly basis. Every
Monday I have to run a long change routine unselecting the previous 7 days
(previous to last week) and selecting over the new 7 days for last week. When
done over 15 different views is bothersome to say the less. I found out there
are two fields in the msp_web_view_reports tables which contain the pivot
table and chart information for each view. For instance, the
WVIEW_OWC_PIVOT_XML field contains an XML file in which I found the dates for
which the view will run:
.....
<x:IncludedMember>
<x:Name>7</x:Name>
<x:UniqueName>[Time].[All Years].[2006].[Q4].[October].[14]</x:UniqueName>
</x:IncludedMember>
<x:IncludedMember>
<x:Name>6</x:Name>
<x:UniqueName>[Time].[All Years].[2006].[Q4].[October].[13]</x:UniqueName>
</x:IncludedMember>
<x:IncludedMember>
<x:Name>5</x:Name>
<x:UniqueName>[Time].[All Years].[2006].[Q4].[October].[12]</x:UniqueName>
</x:IncludedMember>
<x:IncludedMember>
<x:Name>4</x:Name>
<x:UniqueName>[Time].[All Years].[2006].[Q4].[October].[11]</x:UniqueName>
</x:IncludedMember>
<x:IncludedMember>
<x:Name>3</x:Name>
<x:UniqueName>[Time].[All Years].[2006].[Q4].[October].[10]</x:UniqueName>
</x:IncludedMember>
<x:IncludedMember>
<x:Name>2</x:Name>
<x:UniqueName>[Time].[All Years].[2006].[Q4].[October].[9]</x:UniqueName>
</x:IncludedMember>
<x:IncludedMember>
<x:Name>1</x:Name>
<x:UniqueName>[Time].[All Years].[2006].[Q4].[October].[8]</x:UniqueName>
</x:IncludedMember>
....
On the other hand the WVIEW_OWC_PIVOT_XML field contains several fields I
would like also to modify via SQL job, like
<x:Caption>
<xataSourceIndex>-1</xataSourceIndex>
<xata>"IT Time Report - September 24 to 30, 2006"</xata>
</x:Caption>
Has someone out there played around with these fields? If these can be
managed like I said via SQL job my life will be easy on Mondays!!!!
Thanks beforehand!
Mauricio Iannini, PMP
I am managing quite a few Portfolio Analyzer views on a weekly basis. Every
Monday I have to run a long change routine unselecting the previous 7 days
(previous to last week) and selecting over the new 7 days for last week. When
done over 15 different views is bothersome to say the less. I found out there
are two fields in the msp_web_view_reports tables which contain the pivot
table and chart information for each view. For instance, the
WVIEW_OWC_PIVOT_XML field contains an XML file in which I found the dates for
which the view will run:
.....
<x:IncludedMember>
<x:Name>7</x:Name>
<x:UniqueName>[Time].[All Years].[2006].[Q4].[October].[14]</x:UniqueName>
</x:IncludedMember>
<x:IncludedMember>
<x:Name>6</x:Name>
<x:UniqueName>[Time].[All Years].[2006].[Q4].[October].[13]</x:UniqueName>
</x:IncludedMember>
<x:IncludedMember>
<x:Name>5</x:Name>
<x:UniqueName>[Time].[All Years].[2006].[Q4].[October].[12]</x:UniqueName>
</x:IncludedMember>
<x:IncludedMember>
<x:Name>4</x:Name>
<x:UniqueName>[Time].[All Years].[2006].[Q4].[October].[11]</x:UniqueName>
</x:IncludedMember>
<x:IncludedMember>
<x:Name>3</x:Name>
<x:UniqueName>[Time].[All Years].[2006].[Q4].[October].[10]</x:UniqueName>
</x:IncludedMember>
<x:IncludedMember>
<x:Name>2</x:Name>
<x:UniqueName>[Time].[All Years].[2006].[Q4].[October].[9]</x:UniqueName>
</x:IncludedMember>
<x:IncludedMember>
<x:Name>1</x:Name>
<x:UniqueName>[Time].[All Years].[2006].[Q4].[October].[8]</x:UniqueName>
</x:IncludedMember>
....
On the other hand the WVIEW_OWC_PIVOT_XML field contains several fields I
would like also to modify via SQL job, like
<x:Caption>
<xataSourceIndex>-1</xataSourceIndex>
<xata>"IT Time Report - September 24 to 30, 2006"</xata>
</x:Caption>
Has someone out there played around with these fields? If these can be
managed like I said via SQL job my life will be easy on Mondays!!!!
Thanks beforehand!
Mauricio Iannini, PMP