Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
emteam162
Creator
Creator

Column Number pivot table

Hi,

I want know number of column the pivot table.

exist a function that allows to know the number column.

Many thanks for your help.

Best Regards,

Emteam

5 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

yes, you can do this with a macro:

sub ShowColumns()

set obj = ActiveDocument.GetSheetObject( "CH02" )

w = obj.GetColumnCount

msgbox(w)

end sub


talk is cheap, supply exceeds demand
Not applicable

Hi,

Thank you for reply.

My idea is when you make a selection in pivot table (mybe you can know the location clicked at the pivot table).

I can't implement ColumnNo()???

Can you attach Example with : Pivot Table and ColumnNo(),dimensionality()

Many thanks for your help.

Best Regards,

Emteam

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

As far as I know there is no way to get the column and row of the cell of the pivot table when you click on the cell.


talk is cheap, supply exceeds demand
emteam162
Creator
Creator
Author

Hi,

ok i see, thank you.

Best Regards,

Emteam

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Could you mark this as answered? That makes the answer easier to find for others with the same question. Thanks.


talk is cheap, supply exceeds demand