<?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: Monthly Average as accessory line for other lines from legend in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-as-accessory-line-for-other-lines-from-legend/m-p/3086433#M107917</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please Find bellow&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Measure is :&lt;/P&gt;&lt;P&gt;Market Share % =&lt;BR /&gt;VAR _Selecte_Product = Sum(Value)&lt;BR /&gt;VAR _All_Products = Calculate(Sum(Value),Removefilters(Product_Name)&lt;BR /&gt;Return&lt;BR /&gt;Divide(_Selected_Product,_All,Products,0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 19 Feb 2023 08:59:23 GMT</pubDate>
    <dc:creator>Damian88</dc:creator>
    <dc:date>2023-02-19T08:59:23Z</dc:date>
    <item>
      <title>Monthly Average as accessory line for other lines from legend</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-as-accessory-line-for-other-lines-from-legend/m-p/3086328#M107900</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a problem and i cant find solution enywere. I hope that someone already solved such case&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table with sales Values for different products and Shops (Sales - Product_name, Shop_ID, Value),&lt;/P&gt;&lt;P&gt;this table has relation with Shop list (Shop_ID, Territory_ID) and this table&amp;nbsp;has relation with employee list (Territory_ID + Username)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to create a line chart by months with Market Share% for prodyct X with employee list and Market Share% for whole Team&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortynately there is no option to add more than one Field in Legend (wnen I add "Username" there is no option to show Value for whole team in the same Chart)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I dont want to create Measure for each&amp;nbsp;Username because they will be changing. any Idea ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Feb 2023 01:37:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-as-accessory-line-for-other-lines-from-legend/m-p/3086328#M107900</guid>
      <dc:creator>Damian88</dc:creator>
      <dc:date>2023-02-19T01:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Monthly Average as accessory line for other lines from legend</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-as-accessory-line-for-other-lines-from-legend/m-p/3086346#M107902</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="517157" data-lia-user-login="Damian88" class="lia-mention lia-mention-user"&gt;Damian88&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;could you depict your expected chart visually?&lt;/P&gt;</description>
      <pubDate>Sun, 19 Feb 2023 02:33:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-as-accessory-line-for-other-lines-from-legend/m-p/3086346#M107902</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-02-19T02:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Monthly Average as accessory line for other lines from legend</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-as-accessory-line-for-other-lines-from-legend/m-p/3086433#M107917</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please Find bellow&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Measure is :&lt;/P&gt;&lt;P&gt;Market Share % =&lt;BR /&gt;VAR _Selecte_Product = Sum(Value)&lt;BR /&gt;VAR _All_Products = Calculate(Sum(Value),Removefilters(Product_Name)&lt;BR /&gt;Return&lt;BR /&gt;Divide(_Selected_Product,_All,Products,0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Feb 2023 08:59:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-as-accessory-line-for-other-lines-from-legend/m-p/3086433#M107917</guid>
      <dc:creator>Damian88</dc:creator>
      <dc:date>2023-02-19T08:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: Monthly Average as accessory line for other lines from legend</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-as-accessory-line-for-other-lines-from-legend/m-p/3086461#M107920</link>
      <description>&lt;P&gt;hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="517157" data-lia-user-login="Damian88" class="lia-mention lia-mention-user"&gt;Damian88&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try to plot two visuals with a measure like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;A Share % = 
VAR _avalue = 
CALCULATE(
    SUM (Table1[Value]),
    Table1[Product_Name] = "A"
)
VAR _allvalue = 
CALCULATE(
    SUM(Table1[Value]),
    ALL(Table1[Product_Name])
)
Return
Divide(_avalue, _allvalue, 0)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it worked like:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Indeed, Excel has better flexibility for your case.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you don't have too many employee_id, you can write a measure for each.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have too many employee_id, then the linechart will be very crowed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Feb 2023 10:19:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-as-accessory-line-for-other-lines-from-legend/m-p/3086461#M107920</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-02-19T10:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Monthly Average as accessory line for other lines from legend</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-as-accessory-line-for-other-lines-from-legend/m-p/3086466#M107922</link>
      <description>&lt;P&gt;I Thnx for You answer, unfortunatelly it dont cover my case&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I forgot to tell that there are few different Teams so&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;employee_id will be dynamic based on a slicer (always arround 5/6&amp;nbsp;&lt;SPAN&gt;employee_id + Value for Team) so I cant create Measure for all of them.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;I was more thinking, if there is option to 2 level Grouping - legend Fields option (i know that I can group Employees in and see on chart Value For Team but in this case legend wont show me singe emplyees)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Feb 2023 10:45:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-as-accessory-line-for-other-lines-from-legend/m-p/3086466#M107922</guid>
      <dc:creator>Damian88</dc:creator>
      <dc:date>2023-02-19T10:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Monthly Average as accessory line for other lines from legend</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-as-accessory-line-for-other-lines-from-legend/m-p/3086467#M107923</link>
      <description>&lt;P&gt;and ofcourse it has to be on one chart &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Feb 2023 10:48:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Monthly-Average-as-accessory-line-for-other-lines-from-legend/m-p/3086467#M107923</guid>
      <dc:creator>Damian88</dc:creator>
      <dc:date>2023-02-19T10:48:51Z</dc:date>
    </item>
  </channel>
</rss>

