<?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: Trying to use Table Visual row values selected to create measures in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Trying-to-use-Table-Visual-row-values-selected-to-create/m-p/219292#M6904</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/34960"&gt;@iAm3G&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to identify the date value of a specific row selected within my table visual and use it to modify an existing measure by&amp;nbsp;replacing the Today() part with that date from the row.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So for the example below I would need to identify that the date value is "2017-07-22" and use it in the measure:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;SalesPerDate = CALCULATE(RealTimeData[Total Sales], DATEVALUE(RealTimeData[Date]) = TODAY())&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Clipboard01.jpg" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/51641iDB0DA35666336958/image-size/large?v=v2&amp;amp;px=999" role="button" title="Clipboard01.jpg" alt="Clipboard01.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;PLEASE NOTE:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;This is a streaming dataset and Calculated Columns / Editing Queries etc are not allowed. It has to be a measure to obtain that value and then use it in another measure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for any assistance.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/34960"&gt;@iAm3G&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;If I understand your request correctly, you just need to remove the filter. The SalesPerDate would vary according to your slicer&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;SalesPerDate = CALCULATE(RealTimeData[Total Sales]) &lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is your another measure, the first measure would change according to the context of the another measure.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By the way, is the&amp;nbsp;&lt;STRONG&gt;RealTimeData[Date]&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;a text column&lt;STRONG&gt;?&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jul 2017 09:11:13 GMT</pubDate>
    <dc:creator>Eric_Zhang</dc:creator>
    <dc:date>2017-07-26T09:11:13Z</dc:date>
    <item>
      <title>Trying to use Table Visual row values selected to create measures</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Trying-to-use-Table-Visual-row-values-selected-to-create/m-p/218304#M6865</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to identify the date value of a specific row selected within my table visual and use it to modify an existing measure by&amp;nbsp;replacing the Today() part with that date from the row.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So for the example below I would need to identify that the date value is "2017-07-22" and use it in the measure:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SalesPerDate = CALCULATE(RealTimeData[Total Sales], DATEVALUE(RealTimeData[Date]) = TODAY())&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Clipboard01.jpg" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/51641iDB0DA35666336958/image-size/large?v=v2&amp;amp;px=999" role="button" title="Clipboard01.jpg" alt="Clipboard01.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PLEASE NOTE:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This is a streaming dataset and Calculated Columns / Editing Queries etc are not allowed. It has to be a measure to obtain that value and then use it in another measure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any assistance.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2017 07:31:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Trying-to-use-Table-Visual-row-values-selected-to-create/m-p/218304#M6865</guid>
      <dc:creator>iAm3G</dc:creator>
      <dc:date>2017-07-25T07:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to use Table Visual row values selected to create measures</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Trying-to-use-Table-Visual-row-values-selected-to-create/m-p/219292#M6904</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/34960"&gt;@iAm3G&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to identify the date value of a specific row selected within my table visual and use it to modify an existing measure by&amp;nbsp;replacing the Today() part with that date from the row.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So for the example below I would need to identify that the date value is "2017-07-22" and use it in the measure:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;SalesPerDate = CALCULATE(RealTimeData[Total Sales], DATEVALUE(RealTimeData[Date]) = TODAY())&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Clipboard01.jpg" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/51641iDB0DA35666336958/image-size/large?v=v2&amp;amp;px=999" role="button" title="Clipboard01.jpg" alt="Clipboard01.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;PLEASE NOTE:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;This is a streaming dataset and Calculated Columns / Editing Queries etc are not allowed. It has to be a measure to obtain that value and then use it in another measure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for any assistance.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/34960"&gt;@iAm3G&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;If I understand your request correctly, you just need to remove the filter. The SalesPerDate would vary according to your slicer&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;SalesPerDate = CALCULATE(RealTimeData[Total Sales]) &lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is your another measure, the first measure would change according to the context of the another measure.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By the way, is the&amp;nbsp;&lt;STRONG&gt;RealTimeData[Date]&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;a text column&lt;STRONG&gt;?&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2017 09:11:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Trying-to-use-Table-Visual-row-values-selected-to-create/m-p/219292#M6904</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2017-07-26T09:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to use Table Visual row values selected to create measures</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Trying-to-use-Table-Visual-row-values-selected-to-create/m-p/221599#M6995</link>
      <description>Hi there and sorry for the late reply. I'm new to Power BI and just started delving into measures etc...&lt;BR /&gt;Yes RealTimeData[date] is text because using date shows the date in a format not suitable for our international company and as I'm using a streaming dataset i cant do anything about that. Or at least I tried and couldn't.</description>
      <pubDate>Sun, 30 Jul 2017 09:20:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Trying-to-use-Table-Visual-row-values-selected-to-create/m-p/221599#M6995</guid>
      <dc:creator>iAm3G</dc:creator>
      <dc:date>2017-07-30T09:20:24Z</dc:date>
    </item>
  </channel>
</rss>

