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: 
schumi1980
Contributor III
Contributor III

formatting in

Dear All

I am exporting the following table (pivot table) from Qlikview with a Macro:

Picture1.jpg

However, I would like to change the colour/boldness of each total line to something like

Picture2.jpg

Is there a way to make the macro choose each row that contains the word total (I do not know how to do that) and then would format all those rows?

Or is there a way to format already in qlikview the table accordingly?

Many thanks for your help.

Best regards,

Jan

1 Solution

Accepted Solutions
marcus_sommer

You could format it in QlikView with attribute-expressions within the dimensions/expressions - just click on the small + sign by them and enter there something like: if(dimensionality()=1, yellow()). Also possible is to use the custom cell-format - just a right click on the object and choosing the custom formatting.

Another way would be to use a custom formatting within the excel - it won't directly work with the export-feature because you would need to apply the formatting afterwards (unless you manipulate your global excel-template) but if you opened a prepeared excel-file and copy & paste the table there the formatting would be applied.

- Marcus

View solution in original post

4 Replies
marcus_sommer

You could format it in QlikView with attribute-expressions within the dimensions/expressions - just click on the small + sign by them and enter there something like: if(dimensionality()=1, yellow()). Also possible is to use the custom cell-format - just a right click on the object and choosing the custom formatting.

Another way would be to use a custom formatting within the excel - it won't directly work with the export-feature because you would need to apply the formatting afterwards (unless you manipulate your global excel-template) but if you opened a prepeared excel-file and copy & paste the table there the formatting would be applied.

- Marcus

vishsaggi
Champion III
Champion III

You can do this in qlikview using custom format cell. Like click Ctrl+G on your key board and right click on your pivot table where ever you have this total or that total row right click on it then select Custom Format Cell then change the background color and see it that works.

schumi1980
Contributor III
Contributor III
Author

Many thanks.

The dimensionality()=1 was key for a lot of cool stuff.

Jan

schumi1980
Contributor III
Contributor III
Author

In the end I resorted to that. Many thanks.

Jan