Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Bar Chart Design

Hi,

I have 6 expressions for the aging buckets and a field having the dates. How do I make the expressions show in the x-axis grouped by the date field (similar to the second chart below)?

My Expressions:

1. 0-30 days val USD:  sum(distinct([0-030DaysValue]))/1000000

2. 30-60 days val USD:  Sum(distinct([030-060DaysValue]))/1000000

3. 60-90 days val USD:  Sum(distinct([060-090DaysValue]))/1000000

4. 90-120 days val USD:  Sum(distinct([090-120DaysValue]))/1000000

5. 120 days val onw. USD:  Sum(distinct([120DaysOnwardsVal]))/1000000

6.  Total Val USD :  Sum(distinct([Total Value USD]))/1000000

Dimension: Date field

This is what I have right now. How do I flip the expression and dimension so that the chart looks like the second chart below?

Capture.PNG

Capture.PNG

Thanks!

1 Solution

Accepted Solutions
Carlos_Reyes
Partner - Specialist
Partner - Specialist

You either can create an island field with the aging bucket values or create a calculated dimension for the same purpose. Then use that as the first dimension of your chart and the Date field as the second dimension.

Your expression has to check the first (island or calculated) dimension values to use the proper calculation for each.

Review the enclosed file for the example.

View solution in original post

2 Replies
Carlos_Reyes
Partner - Specialist
Partner - Specialist

You either can create an island field with the aging bucket values or create a calculated dimension for the same purpose. Then use that as the first dimension of your chart and the Date field as the second dimension.

Your expression has to check the first (island or calculated) dimension values to use the proper calculation for each.

Review the enclosed file for the example.

Anonymous
Not applicable
Author

Thanks Carlos!

Is there a way we can sort the bars(ascending or descending) for each aging bucket?

Capture.PNG