Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
udaya_kumar
Specialist

get possible values from the field selection

Hi,

I have data something like as shown below (it's a sample data)

 

PlanMonth           ID      Value
StandardMay-16110
StandardMay-16220
VariableMay-16330
VariableMay-16440
VariableMay-16550
VariableMay-16660
StandardJun-16110
StandardJun-16220
VariableJun-16330
VariableJun-16440
StandardJun-16550
StandardJun-16660
StandardJul-16110
StandardJul-16220
VariableJul-16330
VariableJul-16540
VariableJul-16850
VariableJul-16960

I have to show the count of id's in bar chart with alternate states in the expression (Two alternate states and Two expressions).

I have two listbox with Month field (one with alternate state 'State1' and another with alternate state 'State2').

When i make selection in 'State1' Month listbox, then the bars (Expression 1) in chart should show the count of id's for Standard and Variable for the selected month, for ex. May 2016 (Month listbox with State1 alternate state).

When i make selection in 'State2' Month listbox, then the bars (Expression 2) in chart should show the count of id's for Standard and Variable for the selected month, for ex. Jun 2016 (Month listbox with State2 alternate state) but those id's which are present in May 2016, only those id's should be counted in expression 2 (Jun 2016) and other non-matched id's should show as others in the chart.

How to achieve this functionality in the chart?

1 Solution

Accepted Solutions
sunny_talwar

Can you check if this meets your requirement

View solution in original post

5 Replies
sunny_talwar

Would you be able to share your sample qvw file?

udaya_kumar
Specialist
Author

Hi,

PFA.

sunny_talwar

Can you check if this meets your requirement

udaya_kumar
Specialist
Author

Thanks for the information Sunny.

Is it possible to get the others count in selection group 2 itself, instead of keeping it as a separate expression?

sunny_talwar

Stack it you mean?