Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Alessandro_TZ9
Contributor III
Contributor III

Filling missing Year-Month rows on a Table (no script)

Hello,

I need to fill the rows of a straight table with missed year-months, due of zero values.

For some reasons I cannot modify the script, so I must find a front end solution.

Below an example (good case):

Right caseRight case

Below a bad case, to be corrected filling the missing year-month rows with zero:

QlikSupp_02.PNG

The 1st column formula:

" =Dual(Year([acq.ba-dboll])&'-'&Month([acq.ba-dboll]),MonthStart([acq.ba-dboll])) "

" [acq.ba-dboll] " is the Date field.

 

Any ideas? Thanks for helping

Alex

Labels (1)
1 Reply
MatheusC
Specialist II
Specialist II

@Alessandro_TZ9 

see this Alt() to add to the missing value 0:

Measure:
Alt(YourExpression,0)

- Matheus

Did you find a solution to your question? Mark the solution as accepted and if you found it useful, press the like button!