<?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: Calculated Column to Measure in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Calculated-Column-to-Measure/m-p/3213085#M7385</link>
    <description>&lt;P&gt;measures need aggregations.&amp;nbsp; Instead of&amp;nbsp;&lt;SPAN&gt;Progression[Date] you need to use things like SELECTEDVALUE(Progression[Date]) or MAX(Progression[Date])&amp;nbsp; etc.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 01 May 2023 01:20:35 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2023-05-01T01:20:35Z</dc:date>
    <item>
      <title>Calculated Column to Measure</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Calculated-Column-to-Measure/m-p/3209646#M7373</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I currently have a calculated Table that has the following calculated column:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Packets Received = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;COUNTROWS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Datalake info'&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'Datalake info'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'Datalake info'&lt;/SPAN&gt;&lt;SPAN&gt;[Date_Arrived]&lt;/SPAN&gt;&lt;SPAN&gt; &amp;lt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN&gt;BLANK&lt;/SPAN&gt;&lt;SPAN&gt;() &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;amp;&amp;amp; &lt;/SPAN&gt;&lt;SPAN&gt;'Datalake info'&lt;/SPAN&gt;&lt;SPAN&gt;[Date_Arrived]&lt;/SPAN&gt;&lt;SPAN&gt; &amp;lt;= &lt;/SPAN&gt;&lt;SPAN&gt;Progression&lt;/SPAN&gt;&lt;SPAN&gt;[Date]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;amp;&amp;amp; &lt;/SPAN&gt;&lt;SPAN&gt;RELATED&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Script Type'&lt;/SPAN&gt;&lt;SPAN&gt;[SFA]&lt;/SPAN&gt;&lt;SPAN&gt;) = &lt;/SPAN&gt;&lt;SPAN&gt;"N"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;amp;&amp;amp; &lt;/SPAN&gt;&lt;SPAN&gt;RELATED&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Script Type'&lt;/SPAN&gt;&lt;SPAN&gt;[Script Type]&lt;/SPAN&gt;&lt;SPAN&gt;) &amp;lt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN&gt;"Secure Exchange"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;)&lt;BR /&gt;&lt;BR /&gt;The above works fine, but I've only just realised the issue in having this as a calculated column is causing. No slicers are affecting the results as these are not dynamic.&lt;BR /&gt;&lt;BR /&gt;I've been trying to find an alternative using a measure to allow this to be affected by my slicers, but I can't seem to figure out how. It seems like it does like this part:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;amp;&amp;amp; 'Datalake info'[Date_Arrived] &amp;lt;= Progression[Date]&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;I'm assuming that it doesn't know what I'm referencing to as it's not part of a table anymore.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;For more info, I'm using this in a line chart to have a count of received material up to each date.&lt;BR /&gt;&lt;BR /&gt;Any help is appreciated.&lt;/DIV&gt;&lt;/DIV&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 27 Apr 2023 15:19:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Calculated-Column-to-Measure/m-p/3209646#M7373</guid>
      <dc:creator>RyanHare92</dc:creator>
      <dc:date>2023-04-27T15:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Column to Measure</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Calculated-Column-to-Measure/m-p/3213085#M7385</link>
      <description>&lt;P&gt;measures need aggregations.&amp;nbsp; Instead of&amp;nbsp;&lt;SPAN&gt;Progression[Date] you need to use things like SELECTEDVALUE(Progression[Date]) or MAX(Progression[Date])&amp;nbsp; etc.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 May 2023 01:20:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Calculated-Column-to-Measure/m-p/3213085#M7385</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-05-01T01:20:35Z</dc:date>
    </item>
  </channel>
</rss>

