<?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 Smart Narrative Previous Month pulls 0 and not the value in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Smart-Narrative-Previous-Month-pulls-0-and-not-the-value/m-p/3265580#M7631</link>
    <description>&lt;P&gt;I have three data points:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;All Centers which is the total number of cases&lt;/LI&gt;&lt;LI&gt;Status which is one of 6 options but I am working with Open&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Report Dates (which are all the first of the month.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I created a measure to get the date of the previous month which is working fine, but when I try and get the Open cases it is returning 0 and not the value of all centers.&amp;nbsp; My narrative for the most recent month is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which while throwing an error for multiple columns is in fact giving me the right total.&amp;nbsp; When I try a similar narrative for my PrevMonth measure I get 0.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;If I replace PrevMonth with 02/01/2023 I get the correct total of 87,193 but need this to be dynamic without having to change that all the time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I doing wrong or should (and how would I) create a calculated table or measure first and use that in the narrative.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Jun 2023 12:16:12 GMT</pubDate>
    <dc:creator>Squrlswrld</dc:creator>
    <dc:date>2023-06-02T12:16:12Z</dc:date>
    <item>
      <title>Smart Narrative Previous Month pulls 0 and not the value</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Smart-Narrative-Previous-Month-pulls-0-and-not-the-value/m-p/3265580#M7631</link>
      <description>&lt;P&gt;I have three data points:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;All Centers which is the total number of cases&lt;/LI&gt;&lt;LI&gt;Status which is one of 6 options but I am working with Open&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Report Dates (which are all the first of the month.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I created a measure to get the date of the previous month which is working fine, but when I try and get the Open cases it is returning 0 and not the value of all centers.&amp;nbsp; My narrative for the most recent month is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which while throwing an error for multiple columns is in fact giving me the right total.&amp;nbsp; When I try a similar narrative for my PrevMonth measure I get 0.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;If I replace PrevMonth with 02/01/2023 I get the correct total of 87,193 but need this to be dynamic without having to change that all the time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I doing wrong or should (and how would I) create a calculated table or measure first and use that in the narrative.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 12:16:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Smart-Narrative-Previous-Month-pulls-0-and-not-the-value/m-p/3265580#M7631</guid>
      <dc:creator>Squrlswrld</dc:creator>
      <dc:date>2023-06-02T12:16:12Z</dc:date>
    </item>
  </channel>
</rss>

