Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
gkcchowdary
Creator
Creator

how to reflect the chart based on list box selection?

Hi

I have 10 filters and i am creating one bar chart and one straight table.

my requirement is if i select 5 filters  it display bar and if i select 10 filters(fields)it display bar chart.

ex if i select fields= a1,a2,a3,a4,a5 it display straight table.

   if i select fields= a1,a2,a3,a4,a5,b1,b2,b3,b4,b5 it display bar chart.

Thanks

6 Replies
Anil_Babu_Samineni

This is possible, Can you make it sample application instead talking the requirement

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
gkcchowdary
Creator
Creator
Author

This is just interview question.if you know the answer write it otherwise leave it.

Anil_Babu_Samineni

Even, Interview time also i can ask same question to Interviewer.. I know the answer, Perhaps this?

Create this measure from layout tab under condition enable like

If(Match(FieldName, 'a1','a2','a3','a4','a5'), 1,0) -- For Straight Table

If(Match(FieldName, 'a1','a2','a3','a4','a5','b1','b2','b3','b4','b5'), 1,0) -- For Bar Graph


Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
shiveshsingh
Master
Master

You need to write condition in layout tab for visibility of both the charts.

gkcchowdary
Creator
Creator
Author

thanks for your reply and i will try with above expressions.

vishsaggi
Champion III
Champion III

Are your A and B our field names or your field values?