<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Remove blank childs in a Gantt chart with parent-child hierarchy in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Remove-blank-childs-in-a-Gantt-chart-with-parent-child-hierarchy/m-p/3031038#M103578</link>
    <description>&lt;P&gt;I cannot figure out a way to set up a &lt;STRONG&gt;Gantt chart&lt;/STRONG&gt; that shows the full &lt;STRONG&gt;hierarchy&lt;/STRONG&gt; (&lt;STRONG&gt;project - lv1, story - lv2, task - lv3&lt;/STRONG&gt;), &lt;U&gt;without showing blank childs&lt;/U&gt; (or default childs, parent as child).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my hierarchy, &lt;U&gt;some stories (level 2) may not have child tasks&lt;/U&gt;, therefore the column "Task - LV3", calculated using PATHITEM, is empty.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the &lt;STRONG&gt;Gantt Chart by MAQ Software&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a &lt;STRONG&gt;filter measure&lt;/STRONG&gt; that, if placed in a matrix with the same dimensions, only shows childs if a parent have some:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Remove Blanks = SWITCH(TRUE(),AND(ISINSCOPE(Table[Level2]), ISBLANK(VALUES(Table[Level2]))), BLANK(), AND(ISINSCOPE(Table[Level3]), ISBLANK(VALUES(Table[Level3]))), BLANK(),1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I cannot find a way to make it work in the Gantt Chart. If I try to use it as a filter, it will only shows full hierarchies, namely items that have lv1 &amp;amp; lv2 &amp;amp; lv3, therefore losing all the stories (lv2) and projects (lv1) that do not have tasks (lv3).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone help?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 23 Jan 2023 08:28:04 GMT</pubDate>
    <dc:creator>mmoggia</dc:creator>
    <dc:date>2023-01-23T08:28:04Z</dc:date>
    <item>
      <title>Remove blank childs in a Gantt chart with parent-child hierarchy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Remove-blank-childs-in-a-Gantt-chart-with-parent-child-hierarchy/m-p/3031038#M103578</link>
      <description>&lt;P&gt;I cannot figure out a way to set up a &lt;STRONG&gt;Gantt chart&lt;/STRONG&gt; that shows the full &lt;STRONG&gt;hierarchy&lt;/STRONG&gt; (&lt;STRONG&gt;project - lv1, story - lv2, task - lv3&lt;/STRONG&gt;), &lt;U&gt;without showing blank childs&lt;/U&gt; (or default childs, parent as child).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my hierarchy, &lt;U&gt;some stories (level 2) may not have child tasks&lt;/U&gt;, therefore the column "Task - LV3", calculated using PATHITEM, is empty.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the &lt;STRONG&gt;Gantt Chart by MAQ Software&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a &lt;STRONG&gt;filter measure&lt;/STRONG&gt; that, if placed in a matrix with the same dimensions, only shows childs if a parent have some:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Remove Blanks = SWITCH(TRUE(),AND(ISINSCOPE(Table[Level2]), ISBLANK(VALUES(Table[Level2]))), BLANK(), AND(ISINSCOPE(Table[Level3]), ISBLANK(VALUES(Table[Level3]))), BLANK(),1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I cannot find a way to make it work in the Gantt Chart. If I try to use it as a filter, it will only shows full hierarchies, namely items that have lv1 &amp;amp; lv2 &amp;amp; lv3, therefore losing all the stories (lv2) and projects (lv1) that do not have tasks (lv3).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone help?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 08:28:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Remove-blank-childs-in-a-Gantt-chart-with-parent-child-hierarchy/m-p/3031038#M103578</guid>
      <dc:creator>mmoggia</dc:creator>
      <dc:date>2023-01-23T08:28:04Z</dc:date>
    </item>
  </channel>
</rss>

