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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Dimensionality

I want to insert subtotal for expressions. Since partial sums label does not allow custom label , I used dimensionality function for the expression. But I am having an issue where the text for the subtotal is showing as left aligned. I want this to be right aligned. I searched the function list but could not find it. Is there a way to set the alignment within expression ?

(Dimensionality()=1,'Subtotal ' & Group & '   ' & round(Sum( {<Source = {'CurrentSales'}>} Amount),1),Sum( {<Source = {'CurrentSales'}>} Amount))

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

You can set the alignment on the Presentation tab. You can set it for text values and number values separately. You seem to want to have both settings to Right.


talk is cheap, supply exceeds demand

View solution in original post

4 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

You can set the alignment on the Presentation tab. You can set it for text values and number values separately. You seem to want to have both settings to Right.


talk is cheap, supply exceeds demand
Not applicable
Author

Didn't realize expressions are also listed there. Thanks!

jolivares
Specialist
Specialist

Hi Gysbert, may you see the example attached?  I was trying to acumulate values in the subtotal but I failed.

See please.

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

See attached qvw.


talk is cheap, supply exceeds demand