<?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 Re: Gant chart 3.0.12.0 in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Gant-chart-3-0-12-0/m-p/4410721#M175160</link>
    <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="468686" data-lia-user-login="Gretha28" class="lia-mention lia-mention-user"&gt;Gretha28&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;In your Gantt chart, the issue occurs because tasks with the &lt;STRONG data-start="61" data-end="88"&gt;same Start and End Date&lt;/STRONG&gt; have a duration of &lt;STRONG data-start="108" data-end="116"&gt;zero&lt;/STRONG&gt;, making them effectively invisible in the chart. Here is a solution to fix this issue:&lt;/P&gt;
&lt;P&gt;Modify your duration measure so that it ensures a minimum duration of &lt;STRONG data-start="335" data-end="344"&gt;1 day&lt;/STRONG&gt; when the start and end dates are the same:&lt;/P&gt;
&lt;P&gt;Duration =&lt;BR /&gt;VAR DaysDiff = DATEDIFF('Table'[Startdate], 'Table'[Enddate], DAY)&lt;BR /&gt;RETURN IF(DaysDiff = 0, 1, DaysDiff)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt; I hope this solution helps you unlock your Power BI potential! If you found it helpful, click 'Mark as Solution' to guide others toward the answers they need.&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":light_bulb:"&gt;💡&lt;/span&gt; Love the effort? Drop the kudos! Your appreciation fuels community spirit and innovation.&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":military_medal:"&gt;🎖&lt;/span&gt; As a proud SuperUser and Microsoft Partner, we’re here to empower your data journey and the Power BI Community at large.&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":link:"&gt;🔗&lt;/span&gt; Curious to explore more? [Discover here].&lt;BR /&gt;Let’s keep building smarter solutions together!&lt;/P&gt;</description>
    <pubDate>Fri, 14 Feb 2025 09:07:16 GMT</pubDate>
    <dc:creator>grazitti_sapna</dc:creator>
    <dc:date>2025-02-14T09:07:16Z</dc:date>
    <item>
      <title>Gant chart 3.0.12.0</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Gant-chart-3-0-12-0/m-p/4410682#M175157</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;BR /&gt;Hope someone knows the answer! I use a gantchart and want see every step (codenr) in a proces. Some steps are at 1 day, the start and enddate ar the same.&lt;BR /&gt;In my visual I use for:&lt;BR /&gt;legend Codenr&amp;nbsp;&lt;BR /&gt;Task: clientnr&lt;BR /&gt;Startdate: the startdate from a codenr&lt;BR /&gt;Duration: count days from startdate to enddate&lt;BR /&gt;&lt;BR /&gt;I see now in the visual the codenr in time, but don't see de codenr when the startdate is the same as enddate. (even when I tried datetyp&amp;nbsp; a day). Hope someone can help me, thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2025 08:50:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Gant-chart-3-0-12-0/m-p/4410682#M175157</guid>
      <dc:creator>Gretha28</dc:creator>
      <dc:date>2025-02-14T08:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: Gant chart 3.0.12.0</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Gant-chart-3-0-12-0/m-p/4410721#M175160</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="468686" data-lia-user-login="Gretha28" class="lia-mention lia-mention-user"&gt;Gretha28&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;In your Gantt chart, the issue occurs because tasks with the &lt;STRONG data-start="61" data-end="88"&gt;same Start and End Date&lt;/STRONG&gt; have a duration of &lt;STRONG data-start="108" data-end="116"&gt;zero&lt;/STRONG&gt;, making them effectively invisible in the chart. Here is a solution to fix this issue:&lt;/P&gt;
&lt;P&gt;Modify your duration measure so that it ensures a minimum duration of &lt;STRONG data-start="335" data-end="344"&gt;1 day&lt;/STRONG&gt; when the start and end dates are the same:&lt;/P&gt;
&lt;P&gt;Duration =&lt;BR /&gt;VAR DaysDiff = DATEDIFF('Table'[Startdate], 'Table'[Enddate], DAY)&lt;BR /&gt;RETURN IF(DaysDiff = 0, 1, DaysDiff)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt; I hope this solution helps you unlock your Power BI potential! If you found it helpful, click 'Mark as Solution' to guide others toward the answers they need.&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":light_bulb:"&gt;💡&lt;/span&gt; Love the effort? Drop the kudos! Your appreciation fuels community spirit and innovation.&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":military_medal:"&gt;🎖&lt;/span&gt; As a proud SuperUser and Microsoft Partner, we’re here to empower your data journey and the Power BI Community at large.&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":link:"&gt;🔗&lt;/span&gt; Curious to explore more? [Discover here].&lt;BR /&gt;Let’s keep building smarter solutions together!&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2025 09:07:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Gant-chart-3-0-12-0/m-p/4410721#M175160</guid>
      <dc:creator>grazitti_sapna</dc:creator>
      <dc:date>2025-02-14T09:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: Gant chart 3.0.12.0</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Gant-chart-3-0-12-0/m-p/4410795#M175162</link>
      <description>&lt;P&gt;thx for your reaction, I tried it but it still doesn't work...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2025 09:32:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Gant-chart-3-0-12-0/m-p/4410795#M175162</guid>
      <dc:creator>Gretha28</dc:creator>
      <dc:date>2025-02-14T09:32:17Z</dc:date>
    </item>
  </channel>
</rss>

