<?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 Assistance Need w DAX Calculation to Replace Blanks with the Value from Another Column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assistance-Need-w-DAX-Calculation-to-Replace-Blanks-with-the/m-p/2161853#M49981</link>
    <description>&lt;P&gt;I have a table in which I am calculatiing a countdown of days from the start of an event to find the average days to address the event.&amp;nbsp; Once an event is addressed, a finished date is entered and the event completion duration can be calculated.&amp;nbsp; If an event hasn't been addressed, the days continue to accumulate in the calculation.&amp;nbsp; What I need is a measure that will divide the number of days an event is open divided by the overall count of records to get an average.&amp;nbsp; But if an event isn't closed, I need the measure to return a value I have calculated in another column which is counting the number of days between event start and today.&amp;nbsp; I have tried to use an IF statement to replace a blank with the field from the table but it won't work.&amp;nbsp; Example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Average Days for Event = IF(DIVIDE([Event Completion Duration], [Overall Event Count], [Running Days]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When an event hasn't been addressed, it shows as blank in the Event Completion Duration column.&amp;nbsp; That's why I want it to then pull the value from the Running Days column but only in the case of a blank.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to DAX and this has been the most complicated thing I've tried to address so far.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Oct 2021 23:38:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-10-28T23:38:22Z</dc:date>
    <item>
      <title>Assistance Need w DAX Calculation to Replace Blanks with the Value from Another Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assistance-Need-w-DAX-Calculation-to-Replace-Blanks-with-the/m-p/2161853#M49981</link>
      <description>&lt;P&gt;I have a table in which I am calculatiing a countdown of days from the start of an event to find the average days to address the event.&amp;nbsp; Once an event is addressed, a finished date is entered and the event completion duration can be calculated.&amp;nbsp; If an event hasn't been addressed, the days continue to accumulate in the calculation.&amp;nbsp; What I need is a measure that will divide the number of days an event is open divided by the overall count of records to get an average.&amp;nbsp; But if an event isn't closed, I need the measure to return a value I have calculated in another column which is counting the number of days between event start and today.&amp;nbsp; I have tried to use an IF statement to replace a blank with the field from the table but it won't work.&amp;nbsp; Example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Average Days for Event = IF(DIVIDE([Event Completion Duration], [Overall Event Count], [Running Days]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When an event hasn't been addressed, it shows as blank in the Event Completion Duration column.&amp;nbsp; That's why I want it to then pull the value from the Running Days column but only in the case of a blank.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to DAX and this has been the most complicated thing I've tried to address so far.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 23:38:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assistance-Need-w-DAX-Calculation-to-Replace-Blanks-with-the/m-p/2161853#M49981</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-10-28T23:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance Need w DAX Calculation to Replace Blanks with the Value from Another Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assistance-Need-w-DAX-Calculation-to-Replace-Blanks-with-the/m-p/2162169#M49991</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;, better you need to provide Sample Data and Expected results in an image so that we can easily understand your question.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 03:40:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assistance-Need-w-DAX-Calculation-to-Replace-Blanks-with-the/m-p/2162169#M49991</guid>
      <dc:creator>udhayakumarr28</dc:creator>
      <dc:date>2021-10-29T03:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance Need w DAX Calculation to Replace Blanks with the Value from Another Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assistance-Need-w-DAX-Calculation-to-Replace-Blanks-with-the/m-p/2162294#M49996</link>
      <description>&lt;P&gt;&lt;SPAN&gt;udhayakumarr28,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; An example would be as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Event ABC was created on 1/1/21 and completed on 1/5/21 (4 day duration)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Event DEF was created on 1/1/21 and completed on 1/10/21 (9 day duration)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Event GHI was created on 1/15/21 and has yet to be completed (Running total)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Event JKL was created on 2/1/21 and completed on 2/9/21 (8 day duration)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; There are 4 total events with an average depending on the value from event GHI.&amp;nbsp; I have a measure that calculates the number of records overall and I have measures to calculate event duration and another return the running total based on today().&amp;nbsp; What I can't do is put them all together to give me the average days for completion including the event that has yet to be completed.&amp;nbsp; I can calculate the average number of days for completed events but I can't get further than that.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; Does that make more sense?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 05:11:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assistance-Need-w-DAX-Calculation-to-Replace-Blanks-with-the/m-p/2162294#M49996</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-10-29T05:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance Need w DAX Calculation to Replace Blanks with the Value from Another Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assistance-Need-w-DAX-Calculation-to-Replace-Blanks-with-the/m-p/2169843#M50363</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P class="xmsonormal"&gt;&lt;SPAN&gt;According to your description, I create a sample and you can try like this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="xmsonormal"&gt;&lt;SPAN&gt;1.Create the column “Event Completion Duration”.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="helvetica"&gt;&lt;img /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="xmsonormal"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="xmsonormal"&gt;&lt;FONT face="helvetica"&gt;&lt;SPAN&gt;2.Create the measure ”Average Days for Event”.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="helvetica"&gt;&lt;img /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="xmsonormal"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="helvetica"&gt;&lt;SPAN&gt;Best Regards,&lt;BR /&gt;Community Support Team _ kalyj&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="xmsonormal"&gt;&lt;FONT face="helvetica"&gt;&lt;SPAN&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 06:28:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assistance-Need-w-DAX-Calculation-to-Replace-Blanks-with-the/m-p/2169843#M50363</guid>
      <dc:creator>v-yanjiang-msft</dc:creator>
      <dc:date>2021-11-03T06:28:21Z</dc:date>
    </item>
  </channel>
</rss>

