Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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
Specialist

@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!