<?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 Total Average  Price of Category in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Total-Average-Price-of-Category/m-p/4104422#M54813</link>
    <description>&lt;P&gt;Hello, I am looking for one help in below scenario.&lt;BR /&gt;&lt;BR /&gt;Average Price&amp;nbsp; = Sales Value/ sales Volume *100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to&amp;nbsp; create the&amp;nbsp; table as per below screen shot . And looking for column&amp;nbsp; &lt;STRONG&gt;"Average price of Category"&lt;/STRONG&gt; as per&amp;nbsp; below Excel screen shot by DAX as&amp;nbsp; Measure.&lt;BR /&gt;&lt;BR /&gt;There is only one Category that's why it is same number in&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;"Average price of Category"&amp;nbsp;&lt;/STRONG&gt;column in below screen shot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: This is the dummy/sample data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Brand&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Category&lt;/TD&gt;&lt;TD&gt;Average Price Of Brand&lt;/TD&gt;&lt;TD&gt;Average price of Category&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;x&lt;/TD&gt;&lt;TD&gt;6.43&lt;/TD&gt;&lt;TD&gt;4.9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;x&lt;/TD&gt;&lt;TD&gt;10.11&lt;/TD&gt;&lt;TD&gt;4.9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;x&lt;/TD&gt;&lt;TD&gt;24.12&lt;/TD&gt;&lt;TD&gt;4.9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;D&lt;/TD&gt;&lt;TD&gt;x&lt;/TD&gt;&lt;TD&gt;15.16&lt;/TD&gt;&lt;TD&gt;4.9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;E&lt;/TD&gt;&lt;TD&gt;x&lt;/TD&gt;&lt;TD&gt;17&lt;/TD&gt;&lt;TD&gt;4.9&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 17 Aug 2024 05:13:31 GMT</pubDate>
    <dc:creator>heetu24</dc:creator>
    <dc:date>2024-08-17T05:13:31Z</dc:date>
    <item>
      <title>Total Average  Price of Category</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Total-Average-Price-of-Category/m-p/4104422#M54813</link>
      <description>&lt;P&gt;Hello, I am looking for one help in below scenario.&lt;BR /&gt;&lt;BR /&gt;Average Price&amp;nbsp; = Sales Value/ sales Volume *100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to&amp;nbsp; create the&amp;nbsp; table as per below screen shot . And looking for column&amp;nbsp; &lt;STRONG&gt;"Average price of Category"&lt;/STRONG&gt; as per&amp;nbsp; below Excel screen shot by DAX as&amp;nbsp; Measure.&lt;BR /&gt;&lt;BR /&gt;There is only one Category that's why it is same number in&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;"Average price of Category"&amp;nbsp;&lt;/STRONG&gt;column in below screen shot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: This is the dummy/sample data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Brand&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Category&lt;/TD&gt;&lt;TD&gt;Average Price Of Brand&lt;/TD&gt;&lt;TD&gt;Average price of Category&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;x&lt;/TD&gt;&lt;TD&gt;6.43&lt;/TD&gt;&lt;TD&gt;4.9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;x&lt;/TD&gt;&lt;TD&gt;10.11&lt;/TD&gt;&lt;TD&gt;4.9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;x&lt;/TD&gt;&lt;TD&gt;24.12&lt;/TD&gt;&lt;TD&gt;4.9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;D&lt;/TD&gt;&lt;TD&gt;x&lt;/TD&gt;&lt;TD&gt;15.16&lt;/TD&gt;&lt;TD&gt;4.9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;E&lt;/TD&gt;&lt;TD&gt;x&lt;/TD&gt;&lt;TD&gt;17&lt;/TD&gt;&lt;TD&gt;4.9&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2024 05:13:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Total-Average-Price-of-Category/m-p/4104422#M54813</guid>
      <dc:creator>heetu24</dc:creator>
      <dc:date>2024-08-17T05:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: Total Average  Price of Category</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Total-Average-Price-of-Category/m-p/4104542#M54819</link>
      <description>&lt;P&gt;Please provide sample data that covers your issue or question &lt;STRONG&gt;completely&lt;/STRONG&gt;, in a &lt;STRONG&gt;usable&lt;/STRONG&gt; format (not as a screenshot).&lt;BR /&gt;&lt;BR /&gt;Do not include sensitive information or anything not related to the issue or question. &lt;BR /&gt;&lt;BR /&gt;If you are unsure how to upload data please refer to &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;BR /&gt;&lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;Want faster answers? &lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 15:36:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Total-Average-Price-of-Category/m-p/4104542#M54819</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-08-16T15:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Total Average  Price of Category</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Total-Average-Price-of-Category/m-p/4106029#M54831</link>
      <description>&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Thanks for the reply from lbendlin&amp;nbsp;, please allow me to provide another insight:&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Hi,&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/751853"&gt;@heetu24&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Regarding the issue you raised, my solution is as follows:&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;1.First I have created the following table and the column names and data are the data you have given:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlinyulumsft_0-1724035609757.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1152867i7C733013CB586E84/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_0-1724035609757.png" alt="vlinyulumsft_0-1724035609757.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;&lt;SPAN&gt;2. &lt;/SPAN&gt;&lt;SPAN&gt;Below we've given you two measures:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure1 = AVERAGEX(ALL('Table'),'Table'[Average Price Of Brand])&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Measure2 = CALCULATE(AVERAGE('Table'[Average Price Of Brand]),ALL('Table'))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;&lt;SPAN&gt;3.&lt;/SPAN&gt;&lt;SPAN&gt;If you need a total value, we recommend converting the measure to a calculated column and then modifying the aggregation type:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlinyulumsft_1-1724035672460.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1152868i47BC0F0B93384B5F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_1-1724035672460.png" alt="vlinyulumsft_1-1724035672460.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlinyulumsft_2-1724035672461.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1152869iFF8F0F3A56624224/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_2-1724035672461.png" alt="vlinyulumsft_2-1724035672461.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;4.Here's my final result, which I hope meets your requirements.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlinyulumsft_3-1724035686884.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1152870iBC5EEAB6AD9B674B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_3-1724035686884.png" alt="vlinyulumsft_3-1724035686884.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;5.Here is the relevant documentation:&lt;/P&gt;
&lt;P style="margin: 0in;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/dax/average-function-dax" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;AVERAGE function (DAX) - DAX | Microsoft Learn&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/dax/averagex-function-dax" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;AVERAGEX function (DAX) - DAX | Microsoft Learn&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/dax/all-function-dax" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;ALL function (DAX) - DAX | Microsoft Learn&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/dax/allselected-function-dax" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;ALLSELECTED function (DAX) - DAX | Microsoft Learn&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Can you share sample data and sample output in tabular format if I am misunderstanding? Or a sample pbix after removing sensitive data. We can better understand the problem and help you.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Please find the attached pbix relevant to the case.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Best Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Leroy Lu&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;If this post &lt;SPAN&gt;helps&lt;/SPAN&gt;, then please consider Accept it &lt;SPAN&gt;as the solution &lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 02:49:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Total-Average-Price-of-Category/m-p/4106029#M54831</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-19T02:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Total Average  Price of Category</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Total-Average-Price-of-Category/m-p/4106081#M54835</link>
      <description>&lt;P&gt;Hi, Thank you for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the Average Price of the toal Average is 72.82. That 72.82 I am looking in seperate column row by row. That is Average Price of the category.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Puropose of this is I want to calculate API(Average Price Index)= (Average Price of the Brand/ Average price of the category)* 100.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Categoty is only one so Average Price of the category will be same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking forward to hear from you&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 03:43:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Total-Average-Price-of-Category/m-p/4106081#M54835</guid>
      <dc:creator>heetu24</dc:creator>
      <dc:date>2024-08-19T03:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: Total Average  Price of Category</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Total-Average-Price-of-Category/m-p/4106195#M54836</link>
      <description>&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;&lt;SPAN&gt;Hi,&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/751853"&gt;@heetu24&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Thanks for the quick reply.&lt;BR /&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;" lang="zh-CN"&gt;I offer two options for your needs:&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;1.Create calculated column references:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Column = ('Table'[Average Price Of Brand]/'Table'[Average price of Category])*100&lt;/LI-CODE&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;2. Below are the measure I've created for your needs:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = (SUM('Table'[Average Price Of Brand])/SUM('Table'[Average price of Category]))*100&lt;/LI-CODE&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;3.Here's my final result, which I hope meets your requirements:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlinyulumsft_0-1724045991122.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1152952iEF4698A36AE7D491/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_0-1724045991122.png" alt="vlinyulumsft_0-1724045991122.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Can you share sample data and sample output in tabular format if I am misunderstanding? Or a sample pbix after removing sensitive data. We can better understand the problem and help you.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Please find the attached pbix relevant to the case.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Best Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Leroy Lu&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;If this post &lt;SPAN&gt;helps&lt;/SPAN&gt;, then please consider Accept it &lt;SPAN&gt;as the solution &lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 05:40:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Total-Average-Price-of-Category/m-p/4106195#M54836</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-19T05:40:16Z</dc:date>
    </item>
  </channel>
</rss>

