<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Prevent missing values in visualization from being plotted - Support - Redash Discourse</title> <meta name="description" content="Hello, How do I prevent a missing value to be displayed in a line chart. In this Example portfolio PF-21-08 has an overdue rate of 1% at collection 3. Portfolio PF-21-09 doesn’t have a collection 3 but in the visual&hellip;"> <meta name="generator" content="Discourse 3.2.0.beta2-dev - https://github.com/discourse/discourse version 83621ccbe797223b48b624b00ef04f24672e1f03"> <link rel="icon" type="image/png" href="https://global.discourse-cdn.com/standard17/uploads/redash1/optimized/1X/01e20869afc0877e3e5aee0f94419b9e9bffa961_2_32x32.ico"> <link rel="apple-touch-icon" type="image/png" href="https://global.discourse-cdn.com/standard17/uploads/redash1/optimized/1X/e1838a8a0c506503a22e0c60e2334374b2895c87_2_180x180.png"> <meta name="theme-color" media="all" content="#ffffff"> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, user-scalable=yes, viewport-fit=cover"> <link rel="canonical" href="https://discuss.redash.io/t/prevent-missing-values-in-visualization-from-being-plotted/9394" /> <link rel="search" type="application/opensearchdescription+xml" href="https://discuss.redash.io/opensearch.xml" title="Redash Discourse Search"> <link href="https://sjc6.discourse-cdn.com/standard17/stylesheets/color_definitions_base__2_8fd59ae1f286f43b3ff17996df07ea951685249d.css?__ws=discuss.redash.io" media="all" rel="stylesheet" class="light-scheme"/> <link href="https://sjc6.discourse-cdn.com/standard17/stylesheets/desktop_d86c892d7cd5311243d31a8f11787f4b0342874d.css?__ws=discuss.redash.io" media="all" rel="stylesheet" data-target="desktop" /> <link href="https://sjc6.discourse-cdn.com/standard17/stylesheets/checklist_d86c892d7cd5311243d31a8f11787f4b0342874d.css?__ws=discuss.redash.io" media="all" rel="stylesheet" data-target="checklist" /> <link href="https://sjc6.discourse-cdn.com/standard17/stylesheets/discourse-adplugin_d86c892d7cd5311243d31a8f11787f4b0342874d.css?__ws=discuss.redash.io" media="all" rel="stylesheet" data-target="discourse-adplugin" /> <link href="https://sjc6.discourse-cdn.com/standard17/stylesheets/discourse-akismet_d86c892d7cd5311243d31a8f11787f4b0342874d.css?__ws=discuss.redash.io" media="all" rel="stylesheet" data-target="discourse-akismet" /> <link href="https://sjc6.discourse-cdn.com/standard17/stylesheets/discourse-cakeday_d86c892d7cd5311243d31a8f11787f4b0342874d.css?__ws=discuss.redash.io" media="all" rel="stylesheet" data-target="discourse-cakeday" /> <link href="https://sjc6.discourse-cdn.com/standard17/stylesheets/discourse-chat-integration_d86c892d7cd5311243d31a8f11787f4b0342874d.css?__ws=discuss.redash.io" media="all" rel="stylesheet" data-target="discourse-chat-integration" /> <link href="https://sjc6.discourse-cdn.com/standard17/stylesheets/discourse-details_d86c892d7cd5311243d31a8f11787f4b0342874d.css?__ws=discuss.redash.io" media="all" rel="stylesheet" data-target="discourse-details" /> <link href="https://sjc6.discourse-cdn.com/standard17/stylesheets/discourse-footnote_d86c892d7cd5311243d31a8f11787f4b0342874d.css?__ws=discuss.redash.io" media="all" rel="stylesheet" data-target="discourse-footnote" /> <link href="https://sjc6.discourse-cdn.com/standard17/stylesheets/discourse-lazy-videos_d86c892d7cd5311243d31a8f11787f4b0342874d.css?__ws=discuss.redash.io" media="all" rel="stylesheet" data-target="discourse-lazy-videos" /> <link href="https://sjc6.discourse-cdn.com/standard17/stylesheets/discourse-local-dates_d86c892d7cd5311243d31a8f11787f4b0342874d.css?__ws=discuss.redash.io" media="all" rel="stylesheet" data-target="discourse-local-dates" /> <link href="https://sjc6.discourse-cdn.com/standard17/stylesheets/discourse-narrative-bot_d86c892d7cd5311243d31a8f11787f4b0342874d.css?__ws=discuss.redash.io" media="all" rel="stylesheet" data-target="discourse-narrative-bot" /> <link href="https://sjc6.discourse-cdn.com/standard17/stylesheets/discourse-presence_d86c892d7cd5311243d31a8f11787f4b0342874d.css?__ws=discuss.redash.io" media="all" rel="stylesheet" data-target="discourse-presence" /> <link href="https://sjc6.discourse-cdn.com/standard17/stylesheets/discourse-solved_d86c892d7cd5311243d31a8f11787f4b0342874d.css?__ws=discuss.redash.io" media="all" rel="stylesheet" data-target="discourse-solved" /> <link href="https://sjc6.discourse-cdn.com/standard17/stylesheets/discourse-spoiler-alert_d86c892d7cd5311243d31a8f11787f4b0342874d.css?__ws=discuss.redash.io" media="all" rel="stylesheet" data-target="discourse-spoiler-alert" /> <link href="https://sjc6.discourse-cdn.com/standard17/stylesheets/hosted-site_d86c892d7cd5311243d31a8f11787f4b0342874d.css?__ws=discuss.redash.io" media="all" rel="stylesheet" data-target="hosted-site" /> <link href="https://sjc6.discourse-cdn.com/standard17/stylesheets/poll_d86c892d7cd5311243d31a8f11787f4b0342874d.css?__ws=discuss.redash.io" media="all" rel="stylesheet" data-target="poll" /> <link href="https://sjc6.discourse-cdn.com/standard17/stylesheets/poll_desktop_d86c892d7cd5311243d31a8f11787f4b0342874d.css?__ws=discuss.redash.io" media="all" rel="stylesheet" data-target="poll_desktop" /> <link href="https://sjc6.discourse-cdn.com/standard17/stylesheets/desktop_theme_2_be4cb2b86ec06123c5e974acd20fd933d14b129d.css?__ws=discuss.redash.io" media="all" rel="stylesheet" data-target="desktop_theme" data-theme-id="2" data-theme-name="default"/> <meta id="data-ga-universal-analytics" data-tracking-code="UA-47088186-6" data-json="{"cookieDomain":"auto"}" data-auto-link-domains=""> <link rel="preload" href="https://global.discourse-cdn.com/standard17/assets/google-universal-analytics-v3-08add7ec997ab472fcd9f821d32ff7caf4b8b9a5de2ec18ca723a040be07a098.gz.js" as="script"> <script defer src="https://global.discourse-cdn.com/standard17/assets/google-universal-analytics-v3-08add7ec997ab472fcd9f821d32ff7caf4b8b9a5de2ec18ca723a040be07a098.gz.js"></script> <link rel="alternate nofollow" type="application/rss+xml" title="RSS feed of 'Prevent missing values in visualization from being plotted'" href="https://discuss.redash.io/t/prevent-missing-values-in-visualization-from-being-plotted/9394.rss" /> <meta property="og:site_name" content="Redash Discourse" /> <meta property="og:type" content="website" /> <meta name="twitter:card" content="summary" /> <meta name="twitter:image" content="https://global.discourse-cdn.com/standard17/uploads/redash1/original/2X/8/819dc7a3e7376657501a28b1dd277cac972ecdd3.png" /> <meta property="og:image" content="https://global.discourse-cdn.com/standard17/uploads/redash1/original/2X/8/819dc7a3e7376657501a28b1dd277cac972ecdd3.png" /> <meta property="og:url" content="https://discuss.redash.io/t/prevent-missing-values-in-visualization-from-being-plotted/9394" /> <meta name="twitter:url" content="https://discuss.redash.io/t/prevent-missing-values-in-visualization-from-being-plotted/9394" /> <meta property="og:title" content="Prevent missing values in visualization from being plotted" /> <meta name="twitter:title" content="Prevent missing values in visualization from being plotted" /> <meta property="og:description" content="Hello, How do I prevent a missing value to be displayed in a line chart. In this Example portfolio PF-21-08 has an overdue rate of 1% at collection 3. Portfolio PF-21-09 doesn’t have a collection 3 but in the visualization it still shows up on the x axis at value 3. Any help is highly appreciated." /> <meta name="twitter:description" content="Hello, How do I prevent a missing value to be displayed in a line chart. In this Example portfolio PF-21-08 has an overdue rate of 1% at collection 3. Portfolio PF-21-09 doesn’t have a collection 3 but in the visualization it still shows up on the x axis at value 3. Any help is highly appreciated." /> <meta property="og:article:section" content="Support" /> <meta property="og:article:section:color" content="BF1E2E" /> <meta property="og:article:tag" content="visualizations" /> <meta property="article:published_time" content="2021-11-03T09:34:31+00:00" /> <meta property="og:ignore_canonical" content="true" /> <script type="application/ld+json">{"@context":"http://schema.org","@type":"QAPage","name":"Prevent missing values in visualization from being plotted","mainEntity":{"@type":"Question","name":"Prevent missing values in visualization from being plotted","text":"Hello,\n\nHow do I prevent a missing value to be displayed in a line chart.\n\n[image]\n\nIn this Example portfolio PF-21-08 has an overdue rate of 1% at collection 3.\n\nPortfolio PF-21-09 doesn’t have a collection 3 but in the visualization it still shows up on the x axis at value 3.\n\n[image]\n\nAny help is…","upvoteCount":0,"answerCount":1,"dateCreated":"2021-11-03T09:34:31.527Z","author":{"@type":"Person","name":"Carlo"},"acceptedAnswer":{"@type":"Answer","text":"Hi Jesse,\n\nthanks for the quick response.\n\nI checked again and I believe the problem was that I had stacking enabled for some reason.","upvoteCount":0,"dateCreated":"2021-11-03T13:45:07.346Z","url":"https://discuss.redash.io/t/prevent-missing-values-in-visualization-from-being-plotted/9394/3","author":{"@type":"Person","name":"c_j"}}}}</script> </head> <body class="crawler "> <header> <a href="/"> Redash Discourse </a> </header> <div id="main-outlet" class="wrap" role="main"> <div id="topic-title"> <h1> <a href="/t/prevent-missing-values-in-visualization-from-being-plotted/9394">Prevent missing values in visualization from being plotted</a> </h1> <div class="topic-category" itemscope itemtype="http://schema.org/BreadcrumbList"> <span itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"> <a href="https://discuss.redash.io/c/support/6" class="badge-wrapper bullet" itemprop="item"> <span class='badge-category-bg' style='background-color: #BF1E2E'></span> <span class='badge-category clear-badge'> <span class='category-name' itemprop='name'>Support</span> </span> </a> <meta itemprop="position" content="1" /> </span> </div> <div class="topic-category"> <div class='discourse-tags list-tags'> <a href='https://discuss.redash.io/tag/visualizations' class='discourse-tag' rel="tag">visualizations</a> </div> </div> </div> <div itemscope itemtype='http://schema.org/DiscussionForumPosting'> <meta itemprop='headline' content='Prevent missing values in visualization from being plotted'> <meta itemprop='articleSection' content='Support'> <meta itemprop='keywords' content='visualizations'> <div itemprop='publisher' itemscope itemtype="http://schema.org/Organization"> <meta itemprop='name' content='Redash Discourse'> <div itemprop='logo' itemscope itemtype="http://schema.org/ImageObject"> <meta itemprop='url' content='https://global.discourse-cdn.com/standard17/uploads/redash1/original/1X/c07bc573841e1e4a0013ea3b6fe088a1534228a3.png'> </div> </div> <div id='post_1' class='topic-body crawler-post'> <div class='crawler-post-meta'> <span class="creator" itemprop="author" itemscope itemtype="http://schema.org/Person"> <a itemprop="url" href='https://discuss.redash.io/u/c_j'><span itemprop='name'>c_j</span></a> </span> <link itemprop="mainEntityOfPage" href="https://discuss.redash.io/t/prevent-missing-values-in-visualization-from-being-plotted/9394"> <link itemprop="image" href="https://global.discourse-cdn.com/standard17/uploads/redash1/original/2X/8/819dc7a3e7376657501a28b1dd277cac972ecdd3.png"> <span class="crawler-post-infos"> <time itemprop='datePublished' datetime='2021-11-03T09:34:31Z' class='post-time'> November 3, 2021, 9:34am </time> <meta itemprop='dateModified' content='2021-11-03T09:50:25Z'> <span itemprop='position'>1</span> </span> </div> <div class='post' itemprop='articleBody'> <p>Hello,</p> <p>How do I prevent a missing value to be displayed in a line chart.<br> <img src="https://global.discourse-cdn.com/standard17/uploads/redash1/original/2X/8/819dc7a3e7376657501a28b1dd277cac972ecdd3.png" alt="image" data-base62-sha1="iuDDoECve2L5hfTHdXR6k5aDV4L" width="261" height="175"></p> <p>In this Example portfolio PF-21-08 has an overdue rate of 1% at collection 3.<br> Portfolio PF-21-09 doesn’t have a collection 3 but in the visualization it still shows up on the x axis at value 3.<br> <img src="https://global.discourse-cdn.com/standard17/uploads/redash1/original/2X/6/6fd70bba697a0d1ad63845879bd08870cb56bb76.png" alt="image" data-base62-sha1="fXnJqGLy0sfraR5bngH7Ah25BHw" width="333" height="239"></p> <p>Any help is highly appreciated.</p> </div> <div itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter"> <meta itemprop="interactionType" content="http://schema.org/LikeAction"/> <meta itemprop="userInteractionCount" content="0" /> <span class='post-likes'></span> </div> <div itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter"> <meta itemprop="interactionType" content="http://schema.org/CommentAction"/> <meta itemprop="userInteractionCount" content="0" /> </div> <div class='crawler-linkback-list' itemscope itemtype='http://schema.org/ItemList'> <div itemprop='itemListElement' itemscope itemtype='http://schema.org/ListItem'> <a itemprop='url' href="http://discuss.redash.io/t/custom-sorting-from-mongodb-query-breaks-after-grouping-fields/10043/2">Custom sorting from mongoDB query breaks after grouping fields</a> <meta itemprop='position' content='1'> </div> </div> </div> <div id='post_2' itemprop='comment' itemscope itemtype='http://schema.org/Comment' class='topic-body crawler-post'> <div class='crawler-post-meta'> <span class="creator" itemprop="author" itemscope itemtype="http://schema.org/Person"> <a itemprop="url" href='https://discuss.redash.io/u/jesse'><span itemprop='name'>jesse</span></a> </span> <link itemprop="mainEntityOfPage" href="https://discuss.redash.io/t/prevent-missing-values-in-visualization-from-being-plotted/9394"> <link itemprop="image" href="https://global.discourse-cdn.com/standard17/uploads/redash1/original/2X/f/f9f6bba50ec7c9c3eeed1ea0580c3bc681f59189.png"> <span class="crawler-post-infos"> <time itemprop='datePublished' datetime='2021-11-03T13:19:36Z' class='post-time'> November 3, 2021, 1:19pm </time> <meta itemprop='dateModified' content='2021-11-03T13:19:36Z'> <span itemprop='position'>2</span> </span> </div> <div class='post' itemprop='text'> <p>I think something is not right with your data. Because I’m not able to reproduce this. Using your exact data I see this chart:</p> <p><div class="lightbox-wrapper"><a class="lightbox" href="https://global.discourse-cdn.com/standard17/uploads/redash1/original/2X/f/f9f6bba50ec7c9c3eeed1ea0580c3bc681f59189.png" data-download-href="/uploads/short-url/zFhvOt3ikfmiQU7maKuAOCgaC25.png?dl=1" title="CleanShot 2021-11-03 at 08.18.39@2x"><img src="https://global.discourse-cdn.com/standard17/uploads/redash1/optimized/2X/f/f9f6bba50ec7c9c3eeed1ea0580c3bc681f59189_2_690x425.png" alt="CleanShot 2021-11-03 at 08.18.39@2x" data-base62-sha1="zFhvOt3ikfmiQU7maKuAOCgaC25" width="690" height="425" srcset="https://global.discourse-cdn.com/standard17/uploads/redash1/optimized/2X/f/f9f6bba50ec7c9c3eeed1ea0580c3bc681f59189_2_690x425.png, https://global.discourse-cdn.com/standard17/uploads/redash1/optimized/2X/f/f9f6bba50ec7c9c3eeed1ea0580c3bc681f59189_2_1035x637.png 1.5x, https://global.discourse-cdn.com/standard17/uploads/redash1/optimized/2X/f/f9f6bba50ec7c9c3eeed1ea0580c3bc681f59189_2_1380x850.png 2x" data-small-upload="https://global.discourse-cdn.com/standard17/uploads/redash1/optimized/2X/f/f9f6bba50ec7c9c3eeed1ea0580c3bc681f59189_2_10x10.png"><div class="meta"> <svg class="fa d-icon d-icon-far-image svg-icon" aria-hidden="true"><use href="#far-image"></use></svg><span class="filename">CleanShot 2021-11-03 at 08.18.39@2x</span><span class="informations">1438×886 39.9 KB</span><svg class="fa d-icon d-icon-discourse-expand svg-icon" aria-hidden="true"><use href="#discourse-expand"></use></svg> </div></a></div></p> <p>Can you share your visualisation settings/</p> </div> <div itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter"> <meta itemprop="interactionType" content="http://schema.org/LikeAction"/> <meta itemprop="userInteractionCount" content="0" /> <span class='post-likes'></span> </div> <div itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter"> <meta itemprop="interactionType" content="http://schema.org/CommentAction"/> <meta itemprop="userInteractionCount" content="1" /> </div> </div> <div id='post_3' itemprop='comment' itemscope itemtype='http://schema.org/Comment' class='topic-body crawler-post'> <div class='crawler-post-meta'> <span class="creator" itemprop="author" itemscope itemtype="http://schema.org/Person"> <a itemprop="url" href='https://discuss.redash.io/u/c_j'><span itemprop='name'>c_j</span></a> </span> <link itemprop="mainEntityOfPage" href="https://discuss.redash.io/t/prevent-missing-values-in-visualization-from-being-plotted/9394"> <span class="crawler-post-infos"> <time itemprop='datePublished' datetime='2021-11-03T13:45:07Z' class='post-time'> November 3, 2021, 1:45pm </time> <meta itemprop='dateModified' content='2021-11-03T13:45:07Z'> <span itemprop='position'>3</span> </span> </div> <div class='post' itemprop='text'> <p>Hi Jesse,<br> thanks for the quick response.<br> I checked again and I believe the problem was that I had stacking enabled for some reason.</p> </div> <div itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter"> <meta itemprop="interactionType" content="http://schema.org/LikeAction"/> <meta itemprop="userInteractionCount" content="0" /> <span class='post-likes'></span> </div> <div itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter"> <meta itemprop="interactionType" content="http://schema.org/CommentAction"/> <meta itemprop="userInteractionCount" content="1" /> </div> </div> <div id='post_4' itemprop='comment' itemscope itemtype='http://schema.org/Comment' class='topic-body crawler-post'> <div class='crawler-post-meta'> <span class="creator" itemprop="author" itemscope itemtype="http://schema.org/Person"> <a itemprop="url" href='https://discuss.redash.io/u/jesse'><span itemprop='name'>jesse</span></a> </span> <link itemprop="mainEntityOfPage" href="https://discuss.redash.io/t/prevent-missing-values-in-visualization-from-being-plotted/9394"> <span class="crawler-post-infos"> <time itemprop='datePublished' datetime='2021-11-03T13:45:39Z' class='post-time'> November 3, 2021, 1:45pm </time> <meta itemprop='dateModified' content='2021-11-03T13:45:39Z'> <span itemprop='position'>4</span> </span> </div> <div class='post' itemprop='text'> <p>Yes that would do it.</p> </div> <div itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter"> <meta itemprop="interactionType" content="http://schema.org/LikeAction"/> <meta itemprop="userInteractionCount" content="0" /> <span class='post-likes'></span> </div> <div itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter"> <meta itemprop="interactionType" content="http://schema.org/CommentAction"/> <meta itemprop="userInteractionCount" content="0" /> </div> </div> </div> </div> <footer class="container wrap"> <nav class='crawler-nav'> <ul> <li itemscope itemtype='http://schema.org/SiteNavigationElement'> <span itemprop='name'> <a href='/' itemprop="url">Home </a> </span> </li> <li itemscope itemtype='http://schema.org/SiteNavigationElement'> <span itemprop='name'> <a href='/categories' itemprop="url">Categories </a> </span> </li> <li itemscope itemtype='http://schema.org/SiteNavigationElement'> <span itemprop='name'> <a href='/guidelines' itemprop="url">FAQ/Guidelines </a> </span> </li> <li itemscope itemtype='http://schema.org/SiteNavigationElement'> <span itemprop='name'> <a href='http://redash.io/terms.html' itemprop="url">Terms of Service </a> </span> </li> <li itemscope itemtype='http://schema.org/SiteNavigationElement'> <span itemprop='name'> <a href='http://redash.io/privacy.html' itemprop="url">Privacy Policy </a> </span> </li> </ul> </nav> <p class='powered-by-link'>Powered by <a href="https://www.discourse.org">Discourse</a>, best viewed with JavaScript enabled</p> </footer> </body> </html>