<?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: custom smart narrative for percent of total in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/custom-smart-narrative-for-percent-of-total/m-p/4242389#M167957</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="821404" data-lia-user-login="EAPCGF" class="lia-mention lia-mention-user"&gt;EAPCGF&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've made a test for your refrence:&lt;/P&gt;
&lt;P&gt;1\I assume there is a table(Table)&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;2\Add a caculate column&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Percent Stream2 = CALCULATE(COUNTROWS('Table'),Filter('Table',EARLIER('Table'[65 or older])='Table'[65 or older]))/COUNTROWS('Table')&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;3\Set the visual&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best&amp;nbsp; Regards,&lt;/P&gt;
&lt;P&gt;Bof&lt;/P&gt;</description>
    <pubDate>Tue, 15 Oct 2024 03:48:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-10-15T03:48:40Z</dc:date>
    <item>
      <title>custom smart narrative for percent of total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/custom-smart-narrative-for-percent-of-total/m-p/4237341#M167603</link>
      <description>&lt;P&gt;Hi I have a viz with 2 categories and a count of patients in each category. I also have a matrix table showing same.&lt;/P&gt;&lt;P&gt;I need a smart narrative that tells me the percent in each category.&lt;/P&gt;&lt;P&gt;We don't have access to copilot.&lt;/P&gt;&lt;P&gt;When I right click, "summarise" the viz, the summary tells me the count of the highest category as a percent of total, but not the percent of total of the other (lower) category.&lt;/P&gt;&lt;P&gt;When I creat a new value in smart narrative, I can get the count by typing count of (category) easily, but I can't get a percent of total.&lt;/P&gt;&lt;P&gt;I can't get it to recognize/replicate the 'summary' text&amp;nbsp; which says 'as a % of total'&lt;/P&gt;&lt;P&gt;In my matrix table I added a column with DAX formula for calculating percent of total for each category. In the matrix table the percent of total is correct, but when I try to get the smar narrative to tell me percent of total for each category, it just shows 100%, not the percent of each of the two categories.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What language do I use for the smart narrative? or what other DAX to I need?&lt;/P&gt;&lt;P&gt;screen shots.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what summary does&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;what i tried&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;what i tried also&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DAX for percent measure&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2024 16:19:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/custom-smart-narrative-for-percent-of-total/m-p/4237341#M167603</guid>
      <dc:creator>EAPCGF</dc:creator>
      <dc:date>2024-10-10T16:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: custom smart narrative for percent of total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/custom-smart-narrative-for-percent-of-total/m-p/4237430#M167611</link>
      <description>&lt;P&gt;Can you share sample data that covers the scenario?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2024 17:43:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/custom-smart-narrative-for-percent-of-total/m-p/4237430#M167611</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-10-10T17:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: custom smart narrative for percent of total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/custom-smart-narrative-for-percent-of-total/m-p/4237752#M167634</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Thank you, I cant see how to attach a file but here is a screen shot of some dummy data&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2024 00:42:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/custom-smart-narrative-for-percent-of-total/m-p/4237752#M167634</guid>
      <dc:creator>EAPCGF</dc:creator>
      <dc:date>2024-10-11T00:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: custom smart narrative for percent of total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/custom-smart-narrative-for-percent-of-total/m-p/4237787#M167637</link>
      <description>&lt;P&gt;Need help uploading data? &lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2024 01:22:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/custom-smart-narrative-for-percent-of-total/m-p/4237787#M167637</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-10-11T01:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: custom smart narrative for percent of total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/custom-smart-narrative-for-percent-of-total/m-p/4237847#M167643</link>
      <description>&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;ID&lt;/TD&gt;&lt;TD&gt;65 or older&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;Under 65&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;Under 65&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;Under 65&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;Under 65&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;65 or Over&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;Under 65&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;TD&gt;65 or Over&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;Under 65&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;TD&gt;Under 65&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;Under 65&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Fri, 11 Oct 2024 01:56:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/custom-smart-narrative-for-percent-of-total/m-p/4237847#M167643</guid>
      <dc:creator>EAPCGF</dc:creator>
      <dc:date>2024-10-11T01:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: custom smart narrative for percent of total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/custom-smart-narrative-for-percent-of-total/m-p/4237894#M167647</link>
      <description>&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;ID&lt;/TD&gt;&lt;TD&gt;65 or older&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;Under 65&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;Under 65&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;Under 65&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;Under 65&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;65 or Over&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;Under 65&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;TD&gt;65 or Over&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;Under 65&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;TD&gt;Under 65&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;Under 65&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Fri, 11 Oct 2024 02:21:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/custom-smart-narrative-for-percent-of-total/m-p/4237894#M167647</guid>
      <dc:creator>EAPCGF</dc:creator>
      <dc:date>2024-10-11T02:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: custom smart narrative for percent of total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/custom-smart-narrative-for-percent-of-total/m-p/4238842#M167695</link>
      <description>&lt;P&gt;I played around with this a bit but haven't gotten it to work yet.&amp;nbsp; Will try a few more things, but maybe someone else with more expertise on smart narratives can chime in.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2024 13:02:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/custom-smart-narrative-for-percent-of-total/m-p/4238842#M167695</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-10-11T13:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: custom smart narrative for percent of total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/custom-smart-narrative-for-percent-of-total/m-p/4242316#M167953</link>
      <description>&lt;P&gt;Thank you for trying, can anyone recommend a way to bump this question or post it somewhere else? Even if the answer is that there is no solution it would be good to know. thank you&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 02:54:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/custom-smart-narrative-for-percent-of-total/m-p/4242316#M167953</guid>
      <dc:creator>EAPCGF</dc:creator>
      <dc:date>2024-10-15T02:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: custom smart narrative for percent of total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/custom-smart-narrative-for-percent-of-total/m-p/4242367#M167954</link>
      <description>&lt;P&gt;hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="821404" data-lia-user-login="EAPCGF" class="lia-mention lia-mention-user"&gt;EAPCGF&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i assumed you want to get the result based on the description in Calculate box in smart narratives.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;have you tried to write exact same sentence as the auto generated in your custom narratives?&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, i got the same problem in my project and couldnt figure out how or why.&lt;/P&gt;&lt;P&gt;in my case, even if i wrote the exact same description as auto generated, it still will not show same result as auto generated showed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so for me, i created a new measure only for this narratives. here is the example using your sample data.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;so in Calculate box, i just put the measure inside.&lt;/P&gt;&lt;P&gt;and yes, it is kinda redundant measure only to be used for one narrative.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 03:27:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/custom-smart-narrative-for-percent-of-total/m-p/4242367#M167954</guid>
      <dc:creator>Irwan</dc:creator>
      <dc:date>2024-10-15T03:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: custom smart narrative for percent of total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/custom-smart-narrative-for-percent-of-total/m-p/4242389#M167957</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="821404" data-lia-user-login="EAPCGF" class="lia-mention lia-mention-user"&gt;EAPCGF&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've made a test for your refrence:&lt;/P&gt;
&lt;P&gt;1\I assume there is a table(Table)&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;2\Add a caculate column&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Percent Stream2 = CALCULATE(COUNTROWS('Table'),Filter('Table',EARLIER('Table'[65 or older])='Table'[65 or older]))/COUNTROWS('Table')&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;3\Set the visual&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best&amp;nbsp; Regards,&lt;/P&gt;
&lt;P&gt;Bof&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 03:48:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/custom-smart-narrative-for-percent-of-total/m-p/4242389#M167957</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-10-15T03:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: custom smart narrative for percent of total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/custom-smart-narrative-for-percent-of-total/m-p/4255160#M168558</link>
      <description>&lt;P&gt;Hi Bof, that's great, thank you very much &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 23:16:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/custom-smart-narrative-for-percent-of-total/m-p/4255160#M168558</guid>
      <dc:creator>EAPCGF</dc:creator>
      <dc:date>2024-10-23T23:16:44Z</dc:date>
    </item>
  </channel>
</rss>

