Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to show total bar as first bar in bar chart in qlikview

how to show total bar as first bar in bar chart in qlikview?

1 Solution

Accepted Solutions
sunny_talwar

See if this helps:

Capture.PNG

Script:

Table:

LOAD * INLINE [

    F1, F2,F3

    P1, 2,1

    P2, 3,2

    P3, 4,3

    P4, 4,7

    P1, 2,3

    P2, 5,9

    P3, 4,1

];

Concatenate (Table)

LOAD 'Total' as F1

AutoGenerate 1;

Expression1:

If(F1 = 'Total', (Sum(TOTAL F2) - 8), Sum(F2))

Expression2:

Sum(F3)

Sorting Expression:

=Match(F1, 'Total', 'P1', 'P2', 'P3', 'P4')



View solution in original post

34 Replies
Anonymous
Not applicable
Author

Dont take any dimension,


Just take Expression only.


See the attachment

Not applicable
Author

but I need to take dimension.

I require Total as first and then remaining afterward

Anonymous
Not applicable
Author

Then you would be getting dimension as well and you will be getting breakup of expression values with dimension as well..

What exactly you wanna?

Not applicable
Author

Hi,

I have bar chart with dimension limit >total ticked. Thats giving me Total bar in last. Can It be possible to put that total bar in start of bar chart as first bar?

Anonymous
Not applicable
Author

could you post your QVW?

Anonymous
Not applicable
Author

or try to sort the value...

sorting not working?

Not applicable
Author

Here it is

Not applicable
Author


Any luck?

Anonymous
Not applicable
Author

doubt, if it is possible in case of Dimensality()