<?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: % for each category in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/for-each-category/m-p/4141035#M164567</link>
    <description>&lt;P&gt;That works! Thank you very so much ! So happy to get your help!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 09 Sep 2024 16:13:58 GMT</pubDate>
    <dc:creator>sportive92003</dc:creator>
    <dc:date>2024-09-09T16:13:58Z</dc:date>
    <item>
      <title>% for each category</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/for-each-category/m-p/4140862#M164550</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I would like to distribute the % for each category of product. I did a selection for only the clients we are lost.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2024 14:30:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/for-each-category/m-p/4140862#M164550</guid>
      <dc:creator>sportive92003</dc:creator>
      <dc:date>2024-09-09T14:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: % for each category</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/for-each-category/m-p/4140989#M164561</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="406022" data-lia-user-login="sportive92003" class="lia-mention lia-mention-user"&gt;sportive92003&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you should write a measure as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;measure percentage :=&lt;/P&gt;&lt;P&gt;var total = calculate (sum(diff) , all(table))&amp;nbsp; -- or you can use allselected based on what you expect&lt;/P&gt;&lt;P&gt;return&lt;/P&gt;&lt;P&gt;divide (diff, total)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If this post helps, then I would appreciate a thumbs up&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;and mark it as the solution&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2024 15:49:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/for-each-category/m-p/4140989#M164561</guid>
      <dc:creator>Selva-Salimi</dc:creator>
      <dc:date>2024-09-09T15:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: % for each category</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/for-each-category/m-p/4141014#M164564</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;DIFF is a Measure to calculate the nomber of clients this year VS last year:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(&lt;SPAN&gt;[Clients uniques Lub-Carb (présent dans un ou l'autre)]&lt;/SPAN&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;[Clients uniques (Lub-Carb) same period]).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So in your formula it doesn't work. How to fix it?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2024 16:04:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/for-each-category/m-p/4141014#M164564</guid>
      <dc:creator>sportive92003</dc:creator>
      <dc:date>2024-09-09T16:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: % for each category</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/for-each-category/m-p/4141026#M164566</link>
      <description>&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/406022" target="_blank"&gt;@sportive92003&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if you omit "sum" then it will be work.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2024 16:09:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/for-each-category/m-p/4141026#M164566</guid>
      <dc:creator>Selva-Salimi</dc:creator>
      <dc:date>2024-09-09T16:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: % for each category</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/for-each-category/m-p/4141035#M164567</link>
      <description>&lt;P&gt;That works! Thank you very so much ! So happy to get your help!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2024 16:13:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/for-each-category/m-p/4141035#M164567</guid>
      <dc:creator>sportive92003</dc:creator>
      <dc:date>2024-09-09T16:13:58Z</dc:date>
    </item>
  </channel>
</rss>

