Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ordering columns in a pivot

Status
Not open for further replies.

MattRichardsUK

Technical User
Dec 11, 2000
22
0
0
GB
Is there a way of hard coding the order of colums in a pivot, depending the the value returned by the result set eg.
if result = 1 then
column order = 12345
else if result = 2 then
column order = 54321
 
Assuming you are using Brio 6.5 or above, you should be able to use some Javascript on the Postprocess() method to apply the sort to the Pivot.

e.g.

ActiveDocument.Sections["Pivot"].SideLabels["Dummy"].SortByLabel(bqSortAscend)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top