Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set analysis fields it chart table

Hi,

I'm have already solved some problems with the help of community hope this time you guys can help me as well.

I have a chart table with customers and their debts interval:

Chart.png

And i have a selection box where i can filter out the delay interval for customer. The filter box is a dimesion which I calculate during script load. The set expression formulas on chart box look like this:

This is the formula for 8-15 field:

=Sum({$<Year,Quarter,Month,Day,Fact = {">=$(=8)<=$(=15)"}>} Balance)

What i want to achieve is when i select any of the values from selection box which is a dimension delay the chart box should give me all results in a table where the selected field values are <>0 and another fields have any values can be zeros as well.

I will describe you what is wrong now:

For example i put a field delay to be ignored on a Not due fields so my not due set expression looks like this

=Sum({$<Year,Delay,Quarter,Month,Day,Fact = {"<$(=0)"}>} Balance)

And 8-15 fields

=Sum({$<Year,Delay,Quarter,Month,Day,Fact = {">=$(=8)<=$(=15)"}>} Balance)

Then i select the field from selection box 8-15 and the result is given all values from 8-15 including zero values and all values from not delay but i want to achieve is to output all values from 8-15  than are <>0 and any value from Not due.

The same situation has to be on any other selection or field.

To simplify if i select a field it has to return <>0 values on that field and other fields from chart table have to return the value what it has.

thanks

jja

1 Reply
Not applicable
Author

Please help  to keep me going forward. It really sucks to be stuck:)