<?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 with sales by season view in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assistance-with-sales-by-season-view/m-p/3403058#M128554</link>
    <description>&lt;P&gt;I would like some help with the attached file.&lt;BR /&gt;In the first column (periodo_ativacao), I have the month in which sales were made.&lt;BR /&gt;In the first row, I have the total that was activated in the month of the column and how many remained in the following months.&lt;/P&gt;&lt;P&gt;For example, for the activation period of 2022-01, I had 260 sales in the month, and in the subsequent month, 128 remained active, and so on.&lt;/P&gt;&lt;P&gt;My problem is that it comes in whole numbers, and I would like it in percentage, starting with 100% and decreasing.&lt;/P&gt;&lt;P&gt;I would also like it to change color every 10% to demonstrate where I have more loss.&lt;/P&gt;&lt;P&gt;Does anyone have an idea of how I can do this?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;A title="Arquivo pbix" href="https://drive.google.com/file/d/1mWgTNHfJk9GaG9nUi03MqwABMbrx_7fr/view?usp=sharing" target="_self"&gt;https://drive.google.com/file/d/1mWgTNHfJk9GaG9nUi03MqwABMbrx_7fr/view?usp=sharing&lt;/A&gt;&amp;nbsp;&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;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Aug 2023 21:14:07 GMT</pubDate>
    <dc:creator>RSSILVA_22</dc:creator>
    <dc:date>2023-08-28T21:14:07Z</dc:date>
    <item>
      <title>Assistance with sales by season view</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assistance-with-sales-by-season-view/m-p/3403058#M128554</link>
      <description>&lt;P&gt;I would like some help with the attached file.&lt;BR /&gt;In the first column (periodo_ativacao), I have the month in which sales were made.&lt;BR /&gt;In the first row, I have the total that was activated in the month of the column and how many remained in the following months.&lt;/P&gt;&lt;P&gt;For example, for the activation period of 2022-01, I had 260 sales in the month, and in the subsequent month, 128 remained active, and so on.&lt;/P&gt;&lt;P&gt;My problem is that it comes in whole numbers, and I would like it in percentage, starting with 100% and decreasing.&lt;/P&gt;&lt;P&gt;I would also like it to change color every 10% to demonstrate where I have more loss.&lt;/P&gt;&lt;P&gt;Does anyone have an idea of how I can do this?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;A title="Arquivo pbix" href="https://drive.google.com/file/d/1mWgTNHfJk9GaG9nUi03MqwABMbrx_7fr/view?usp=sharing" target="_self"&gt;https://drive.google.com/file/d/1mWgTNHfJk9GaG9nUi03MqwABMbrx_7fr/view?usp=sharing&lt;/A&gt;&amp;nbsp;&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;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 21:14:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assistance-with-sales-by-season-view/m-p/3403058#M128554</guid>
      <dc:creator>RSSILVA_22</dc:creator>
      <dc:date>2023-08-28T21:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance with sales by season view</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assistance-with-sales-by-season-view/m-p/3403342#M128584</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="338091" data-lia-user-login="RSSILVA_22" class="lia-mention lia-mention-user"&gt;RSSILVA_22&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for sharing the download link.&amp;nbsp; I've created the % measure which you requested and prepared the visualization below in accordance with your specification.&amp;nbsp; The important thing is not to depend on the implicit measures created automatically by power BI, as they are limited in usability.&amp;nbsp; It is always better to write explicit measures in order to get maximum benefit of what dax can do.&amp;nbsp; I created 3 additional explicit measures as shown below.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I attach the link to the updated pbix file in the link below:&lt;/P&gt;&lt;P&gt;&lt;A href="https://1drv.ms/u/s!AlqFfzVTqicpnV_chPobQjl7UmQQ?e=lbJxv5" target="_blank"&gt;https://1drv.ms/u/s!AlqFfzVTqicpnV_chPobQjl7UmQQ?e=lbJxv5&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 02:15:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assistance-with-sales-by-season-view/m-p/3403342#M128584</guid>
      <dc:creator>DataNinja777</dc:creator>
      <dc:date>2023-08-29T02:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance with sales by season view</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assistance-with-sales-by-season-view/m-p/3404493#M128646</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/608865" target="_self"&gt;&lt;SPAN class=""&gt;Sakiko&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your feedback, but what I need is for the % to be for each row, with 100% starting from the first record. I've placed the first three rows in Excel to give you an idea of what I need.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 13:19:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assistance-with-sales-by-season-view/m-p/3404493#M128646</guid>
      <dc:creator>RSSILVA_22</dc:creator>
      <dc:date>2023-08-29T13:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance with sales by season view</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assistance-with-sales-by-season-view/m-p/3405424#M128663</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="338091" data-lia-user-login="RSSILVA_22" class="lia-mention lia-mention-user"&gt;RSSILVA_22&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your clarification.&amp;nbsp; I tweaked the measure and produced the same output as your requirement.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/338091" target="_self"&gt;&lt;img /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The measure I tweaked which was used as the divisor of the divide function to get the percentage is as follows:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/338091" target="_self"&gt;&lt;img /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attach the link to the revised file.&amp;nbsp; It is always fun to experiment with dax.&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/338091" target="_self"&gt;&lt;span class="lia-unicode-emoji" title=":face_savoring_food:"&gt;😋&lt;/span&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://1drv.ms/u/s!AlqFfzVTqicpnWBjDbvyKcDZCJlE?e=IjKlG1" target="_blank" rel="noopener"&gt;https://1drv.ms/u/s!AlqFfzVTqicpnWBjDbvyKcDZCJlE?e=IjKlG1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://1drv.ms/u/s!AlqFfzVTqicpnWBjDbvyKcDZCJlE?e=IjKlG1" target="_blank" rel="noopener"&gt;&amp;nbsp;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 22:28:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assistance-with-sales-by-season-view/m-p/3405424#M128663</guid>
      <dc:creator>DataNinja777</dc:creator>
      <dc:date>2023-08-29T22:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance with sales by season view</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assistance-with-sales-by-season-view/m-p/3407604#M128768</link>
      <description>&lt;P&gt;Thank you, &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="608865" data-lia-user-login="DataNinja777" class="lia-mention lia-mention-user"&gt;DataNinja777&lt;/a&gt;&amp;nbsp;, for your prompt and effective help in resolving my question on the Power BI community forum. I appreciate it, and thank you for your time in assisting me.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2023 21:36:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assistance-with-sales-by-season-view/m-p/3407604#M128768</guid>
      <dc:creator>RSSILVA_22</dc:creator>
      <dc:date>2023-08-30T21:36:08Z</dc:date>
    </item>
  </channel>
</rss>

