Skip to main content
Announcements
Qlik Launches Open Lakehouse and advanced agentic AI experience in Qlik Answers! | LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
AnalyticsDev
Contributor III

Disable / Make a chart unclickable in Qliksense?

Is there any way to disable or make a chart unclickable/uninteractable in qliksense?  Believe it or not, I've been given a requirement to render a chart unclickable if possible. The end user wants it static.

Thanks,

Labels (1)
8 Replies
agigliotti
Partner - Champion

Hi @AnalyticsDev ,

To achieve it you can use an alternate state.

Best Regards

Nicole-Smith

Another option outside of the already suggested alternate state is to use a 1 in your set analysis for your measure(s).  For example:
SUM({1} [Sales])
SUM({1<[Region]={'US'}>} [Sales])

The 1 tells the calculation to ignore all selections.

BonjourVicky
Contributor II

Hi, 

Another way would be to write set analysis in the script wherein use identifier {1} to ignore selections 

Regards,

Vicky

 

AnalyticsDev
Contributor III
Author

Thank you for the responses.

The dashboard is currently using multiple alternate states for various reasons and the charts in question already have alternate states applied.  This isnt what Im talking about.

I would like the entire object (chart, its dimensions, and its measures) to be non clickable. Static.  Almost as if its an image.  I don't want the user to click on the months across the bottom.  I.E. When they try to click on the months across the bottom of the bar char or click on the bars in the chart, I want nothing to happen.  Unclickable, uninteractable.

Is this possible?

 

Nicole-Smith

Using 1 in set analysis as suggested in previous comments should accomplish this.

AnalyticsDev
Contributor III
Author

I dont think it does.  I put 1 in set analysis for the measures and dimensions, bars, etc are still clickable.  I essentially want the entire chart object locked and you cannot do anything with it.  

 

Correct me if Im wrong but what putting 1 in the set analysis does is shows all results irrespective of what selections have been previously made.  However, what Im speaking to is the chart itself becoming unclickable at all.  I'm already using an alternate state to put this chart on its own 'island' irrespective of what has been selected in other filters in the dashboard.  Now, I want to make the dimensions, bars, and value points themselves unclickable so that wherever the user clicks or tries to do within the chart itself, nothing changes.  Nothing is drilled down into.  Nothing is highlighted.  Its as if the chart is a staticlocked image that can't do anything.  

Even using set analysis {1} and alternate state, data points on bars, dimensions (months across the bottom) are still clickable and you can drill down.  I want to eliminate that.

 

agigliotti
Partner - Champion

Hi @AnalyticsDev ,

I guess it's not possible to disable chart object selections.

Best Regards

Frank_S
Support

So you don't want other charts to be affected when making a selection on a specific chart even one that uses set analysis {1)

 ie: ='Total Order Count is '&count({1}distinct OrderID) &'' as in the example below.

 

 

If so, I don't believe there is a way to achieve that. But this could be a workaround:

 

  1. Create a dedicated so called 'read only' sheet.
  2. Copy the objects you want to this sheet
  3. Apply set analysis {1} to your chart measure expressions on each chart
  4. Lock the dimension used in the chart to 'always one selected' (it will select the first dimension value but the set syntax will prevent the charts from changing

Any category name selection will not be possible since one dimension value is already 'selected' and since the charts will have the set {1} syntax applied, none of the charts should change.

 

Its not perfect but it could work for your requirement.

 

 

I would also like to suggest adding this as a 'feature request' here.

 

Kind regards...

Please remember hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!