<?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 Convert Measure in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Measure/m-p/1987860#M43945</link>
    <description>&lt;P&gt;Hello All&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on a co-workers dashboard and trying to make a fix. I have a stacked column chart using this measure as Values:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Average Employee per listing date = AVERAGEX(KEEPFILTERS(VALUES('Historical Employee Listing'[Listing Date])),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE(COUNTA('Historical Employee Listing'[Name])))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;My Main problem is that I need to show this in a "Legend." Unfortunately I can't put the measure in a Legend, so I was wondering if this measure could be converted to calculated column(s) so that I could get the same result and pull in as "Legend." I tried using this measure as a calculated column, but result comes out different. I appreciate any help!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 29 Jul 2021 17:13:35 GMT</pubDate>
    <dc:creator>Userpath77</dc:creator>
    <dc:date>2021-07-29T17:13:35Z</dc:date>
    <item>
      <title>Convert Measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Measure/m-p/1987860#M43945</link>
      <description>&lt;P&gt;Hello All&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on a co-workers dashboard and trying to make a fix. I have a stacked column chart using this measure as Values:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Average Employee per listing date = AVERAGEX(KEEPFILTERS(VALUES('Historical Employee Listing'[Listing Date])),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE(COUNTA('Historical Employee Listing'[Name])))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;My Main problem is that I need to show this in a "Legend." Unfortunately I can't put the measure in a Legend, so I was wondering if this measure could be converted to calculated column(s) so that I could get the same result and pull in as "Legend." I tried using this measure as a calculated column, but result comes out different. I appreciate any help!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 29 Jul 2021 17:13:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Measure/m-p/1987860#M43945</guid>
      <dc:creator>Userpath77</dc:creator>
      <dc:date>2021-07-29T17:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Measure/m-p/1987932#M43947</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="310802" data-lia-user-login="Userpath77" class="lia-mention lia-mention-user"&gt;Userpath77&lt;/a&gt;&amp;nbsp;It's not likely that you could convert that to a column successfully since it seems dependent upon the filter context of the visual. One method might be to use the disconnected table trick:&lt;/P&gt;
&lt;P&gt;In general, to use a measure in that way, you need to use the Disconnected Table Trick as this article demonstrates: &lt;A href="https://community.powerbi.com/t5/Community-Blog/Solving-Attendance-with-the-Disconnected-Table-Trick/ba-p/279563" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/Solving-Attendance-with-the-Disconnected-Table-Trick/ba-p/279563&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jul 2021 17:56:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Convert-Measure/m-p/1987932#M43947</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2021-07-29T17:56:44Z</dc:date>
    </item>
  </channel>
</rss>

