<?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: Creating measure using several aggregating values in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-measure-using-several-aggregating-values/m-p/825015#M5754</link>
    <description>&lt;P&gt;It works perfectly !!! Thank you very much&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;to make it so easy !&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Oct 2019 14:10:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-10-22T14:10:46Z</dc:date>
    <item>
      <title>Creating measure using several aggregating values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-measure-using-several-aggregating-values/m-p/824609#M5736</link>
      <description>&lt;P&gt;Hello everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'ms struggling in building 3 different measure in Dax Syntax. In fact, I would like to calculate a measure based on the volume into a row divide by the sum of volume of several rows. Here is my usecase :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table of country, brand, volumes and price such as below :&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I would like to calculate 3 differents measures.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first one is the proportion (in volume) of each brand into a specific country.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The second one is the difference of price (at a row level) with the average price at a country level.&lt;/P&gt;&lt;P&gt;The third one is the profit by row divided by the total volume of the country.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the expected table in output :&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;Can someone help me about this stuff ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance !&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 10:17:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-measure-using-several-aggregating-values/m-p/824609#M5736</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-22T10:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Creating measure using several aggregating values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-measure-using-several-aggregating-values/m-p/824682#M5739</link>
      <description>&lt;P&gt;First :=&amp;nbsp;&lt;SPAN&gt;DIVIDE(SUM(Test[Volume]),CALCULATE(SUM(Test[Volume]),ALLEXCEPT(Test,Test[Country])),0)&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Second = SUM(Test[Price])-CALCULATE(AVERAGE(Test[Price]),ALLEXCEPT(Test,Test[Country]))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Third = DIVIDE(SUMX(Test,Test[Volume]*Test[Price]),CALCULATE(SUM(Test[Volume]),ALLEXCEPT(Test,Test[Country])),0)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 10:47:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-measure-using-several-aggregating-values/m-p/824682#M5739</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-22T10:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: Creating measure using several aggregating values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-measure-using-several-aggregating-values/m-p/824845#M5748</link>
      <description>&lt;P&gt;Thank you very much&amp;nbsp;Anonymous&lt;/LI-USER&gt;, I will test the measure and let you know about the results.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 12:36:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-measure-using-several-aggregating-values/m-p/824845#M5748</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-22T12:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Creating measure using several aggregating values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-measure-using-several-aggregating-values/m-p/825015#M5754</link>
      <description>&lt;P&gt;It works perfectly !!! Thank you very much&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;to make it so easy !&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 14:10:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-measure-using-several-aggregating-values/m-p/825015#M5754</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-22T14:10:46Z</dc:date>
    </item>
  </channel>
</rss>

