Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Highlighted
ramanarayan
New Contributor III

Issue with calculated dimension and chart color

Hi Experts,

I am trying to create a chart with a calculated dimension but for some reason i am not getting the desired output.

Here are the challenges i face.

1) All values in the dimension does not show up on the chart

2) The color expression does not work and i see the entire pie chart in black color

3) The legends are not correct as per the numbers

Attached is the data and my qvw file.

Appreciate your help.

Thanks

Tags (1)
1 Solution

Accepted Solutions

Re: Issue with calculated dimension and chart color

Is this what you are looking to get?

Capture.PNG

3 Replies
MVP
MVP

Re: Issue with calculated dimension and chart color

Because your activity and total days are not having one to many.. but many to many relationship..

For Medium and Low activity, you have Medium (30 to 90 Days)

For Inactive Activity you have High and Low both..


So your if statement can't recognise which segment should be given which colour.

Add Activity in your dimension so that you can understand what the issue is.

Re: Issue with calculated dimension and chart color

Is this what you are looking to get?

Capture.PNG

ramanarayan
New Contributor III

Re: Issue with calculated dimension and chart color

Appreciate your help Sunny. This is what i need.

Have a gr8 rest of your day