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

Vizlib line chart shows false data point after most recent month (circled).

Vizlib line chart shows false data point after most recent month (circled). That false data point should not be there. After the current month reflecting extra wrong data point. Could you please resolve the issue

Labels (2)
1 Solution

Accepted Solutions
stevedark
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi @Kranty 

That data point is for all values where the date is null (missing).

There should be an option on the Month dimension in the properties where you can exclude nulls.

Alternatively, you can excluded them from the expression using set analysis:
sum({<Month*={*}>}Value)

Or, you can stamp a different month in the load script:

LOAD
   Date(if(isnull(Month), MonthStart(today()), Month), 'MMM-YYYY') as Month,
   etc.

Hope that helps.

Steve

View solution in original post

2 Replies
stevedark
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi @Kranty 

That data point is for all values where the date is null (missing).

There should be an option on the Month dimension in the properties where you can exclude nulls.

Alternatively, you can excluded them from the expression using set analysis:
sum({<Month*={*}>}Value)

Or, you can stamp a different month in the load script:

LOAD
   Date(if(isnull(Month), MonthStart(today()), Month), 'MMM-YYYY') as Month,
   etc.

Hope that helps.

Steve

Kranty
Contributor II
Contributor II
Author

Thank you Steve. It worked