Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
k_burata
Creator
Creator

Show Date dimension even when no value present

Hi guys,

Trying to create a bar graph to show performance over last 12 months.

Result is correct when no selection is made

Capture.PNG

But when I make a selection on the currency, Month with zero values disappear.

Capture.PNG

How do I make it that zero values appear even if I make a selection?

Cheers.

13 Replies
jyothish8807
Master II
Master II

try this:

Best Regards,
KC
stabben23
Partner - Master
Partner - Master

this could be a work around, add this *avg({1<[Date] = {">=$(v12MonthStart) <=$(v12MonthEnd)"}>}1)

and Your Expression will be

=num(SUM({<[Date] = {">=$(v12MonthStart) <=$(v12MonthEnd)"}>}[Value]), '$#,##0.##')*avg({1<[Date] = {">=$(v12MonthStart) <=$(v12MonthEnd)"}>}1)

k_burata
Creator
Creator
Author

Thanks mate. Solved my problem.

jyothish8807
Master II
Master II

You are welcome

Best Regards,
KC