Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
SaiPranathiG
Contributor II
Contributor II

Dummy Header in Pivot Table

Hello,

I had a requirement to add dummy headers in Pivot table.

For 1st 2 Columns(A,B) header should be H1, and last for last 3, Header should be H2.

 H1 H2  
 ABCDE
MM162910
     bb22594
     cc35686
DD48801
    ee59310

How can this be achieved?

TIA

Labels (2)
4 Replies
MayilVahanan

Hi

You can bring new field for this.

If(Match(Field, 'A', 'B'), 'H1', 'H2') as NewField

And use that new field in the Pivot table.

 

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
SaiPranathiG
Contributor II
Contributor II
Author

iam not using direct fields, A Column is mixed calculation of 2 different fields.

similarly other columns are also using the same fields

brunobertels
Master
Master

creates field with valuelist function 

 

valuelist('H1','H2')

then add mesures 

A= 

if(valuelist('H1','H2')='H1', mesureA)

B= 

if(valuelist('H1','H2')='H1', mesureB)

 

C= 

if(valuelist('H1','H2')='H2', mesureC)

 

etc 

SaiPranathiG
Contributor II
Contributor II
Author

measures which not relevant to headers are getting blank values and im unable to hide them