<?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: Filter temporal table with filter value in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Filter-temporal-table-with-filter-value/m-p/4316609#M58583</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/619631"&gt;@carrascojg&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;" lang="zh-CN"&gt;Based on your description, I suspect you might be testing the DAX you mentioned in a calculation table.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlinyulumsft_0-1733470430250.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1211013i05311F2F1A8E6158/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_0-1733470430250.png" alt="vlinyulumsft_0-1733470430250.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;However, currently, there is no DAX that can capture slicer values in a calculation table or calculated column.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="zh-CN"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;" lang="zh-CN"&gt;Below are the screenshots of the relevant answers:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlinyulumsft_1-1733470430251.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1211014i8FB32197D40A2EBC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_1-1733470430251.png" alt="vlinyulumsft_1-1733470430251.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlinyulumsft_2-1733470476007.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1211016iBE2DB453A1D5E3B0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_2-1733470476007.png" alt="vlinyulumsft_2-1733470476007.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;" lang="zh-CN"&gt;For more details, please refer to:&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Desktop/Using-Slicer-values-in-a-calculated-column/m-p/106354" target="_blank"&gt;&lt;SPAN&gt;Solved: Using Slicer values in a calculated column - Microsoft Fabric Community&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Desktop/Calculated-column-based-on-slicer-value/td-p/2414545" target="_blank"&gt;&lt;SPAN&gt;Solved: Calculated column based on slicer value - Microsoft Fabric Community&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;" lang="zh-CN"&gt;Therefore, I suggest using the DAX you intend to use in a measure:&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;" lang="zh-CN"&gt;1.Here is my sample data:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlinyulumsft_3-1733470476008.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1211015iDE4E5BFC09001DA1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_3-1733470476008.png" alt="vlinyulumsft_3-1733470476008.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;" lang="zh-CN"&gt;2.This is my optimised test measure:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;MEASURE =
VAR cc =
    FILTER (
        SUMMARIZE (
            'Facility Cost',
            'Facility Cost'[City],
            'Facility Cost'[Market],
            "Cost", SUM ( 'Facility Cost'[Facilities Costs] )
        ),
        'Facility Cost'[City] &amp;lt;&amp;gt; BLANK ()
            &amp;amp;&amp;amp; 'Facility Cost'[Market] IN VALUES ( Marketing[Market] )
    )
RETURN
    SUMX ( cc, [Cost] )
&lt;/LI-CODE&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;" lang="zh-CN"&gt;3.The final result is as follows:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlinyulumsft_4-1733470511093.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1211017i0FAB047870877EA0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_4-1733470511093.png" alt="vlinyulumsft_4-1733470511093.png" /&gt;&lt;/span&gt;&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;&lt;SPAN&gt;&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Of course, if you have any new discoveries or questions, please feel free to get in touch with us.&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;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;EM&gt;helps&lt;/EM&gt;, then please consider Accept it &lt;EM&gt;&lt;STRONG&gt;as the solution &lt;/STRONG&gt;&lt;/EM&gt;to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Fri, 06 Dec 2024 07:36:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-12-06T07:36:43Z</dc:date>
    <item>
      <title>Filter temporal table with filter value</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Filter-temporal-table-with-filter-value/m-p/4315776#M58565</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;How cam i filter a temporal table with a filter values:&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;I have this temporal table&amp;nbsp;&lt;SPAN&gt;T_Temp and in screen i have a filter for Market (get values from Marketing table. Eg: EMEA, Americas, India, etc)&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;T_Temp =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATETABLE&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;SUMMARIZE&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;'Facility Cost'&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;'Facility Cost'&lt;/SPAN&gt;&lt;SPAN&gt;[City]&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;, 'Facility Cost'[Market]&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;"Cost"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Facility Cost'&lt;/SPAN&gt;&lt;SPAN&gt;[Facilities Costs]&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;/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;SPAN&gt;'Facility Cost'&lt;/SPAN&gt;&lt;SPAN&gt;[City]&lt;/SPAN&gt;&lt;SPAN&gt; &amp;lt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN&gt;""&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;amp;&amp;amp; 'Facility Cost'[Market] =&amp;nbsp; VALUE FROM FILTER&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;I only made this filter works on that table when i use a string values like "EMEA" as a "VALUE FROM FILTER", but when i use&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SELECTEDVALUE('Marketing'[Market]), it doesn't work.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Somebody can help with this?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 05 Dec 2024 20:11:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Filter-temporal-table-with-filter-value/m-p/4315776#M58565</guid>
      <dc:creator>carrascojg</dc:creator>
      <dc:date>2024-12-05T20:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: Filter temporal table with filter value</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Filter-temporal-table-with-filter-value/m-p/4316036#M58569</link>
      <description>&lt;P&gt;Read about SUMMARIZECOLUMNS and TREATAS.&amp;nbsp; These are preferred over SUMMARIZE and FILTER.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2024 01:06:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Filter-temporal-table-with-filter-value/m-p/4316036#M58569</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-12-06T01:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: Filter temporal table with filter value</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Filter-temporal-table-with-filter-value/m-p/4316609#M58583</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/619631"&gt;@carrascojg&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;" lang="zh-CN"&gt;Based on your description, I suspect you might be testing the DAX you mentioned in a calculation table.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlinyulumsft_0-1733470430250.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1211013i05311F2F1A8E6158/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_0-1733470430250.png" alt="vlinyulumsft_0-1733470430250.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;However, currently, there is no DAX that can capture slicer values in a calculation table or calculated column.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="zh-CN"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;" lang="zh-CN"&gt;Below are the screenshots of the relevant answers:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlinyulumsft_1-1733470430251.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1211014i8FB32197D40A2EBC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_1-1733470430251.png" alt="vlinyulumsft_1-1733470430251.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlinyulumsft_2-1733470476007.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1211016iBE2DB453A1D5E3B0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_2-1733470476007.png" alt="vlinyulumsft_2-1733470476007.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;" lang="zh-CN"&gt;For more details, please refer to:&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Desktop/Using-Slicer-values-in-a-calculated-column/m-p/106354" target="_blank"&gt;&lt;SPAN&gt;Solved: Using Slicer values in a calculated column - Microsoft Fabric Community&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Desktop/Calculated-column-based-on-slicer-value/td-p/2414545" target="_blank"&gt;&lt;SPAN&gt;Solved: Calculated column based on slicer value - Microsoft Fabric Community&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;" lang="zh-CN"&gt;Therefore, I suggest using the DAX you intend to use in a measure:&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;" lang="zh-CN"&gt;1.Here is my sample data:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlinyulumsft_3-1733470476008.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1211015iDE4E5BFC09001DA1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_3-1733470476008.png" alt="vlinyulumsft_3-1733470476008.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;" lang="zh-CN"&gt;2.This is my optimised test measure:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;MEASURE =
VAR cc =
    FILTER (
        SUMMARIZE (
            'Facility Cost',
            'Facility Cost'[City],
            'Facility Cost'[Market],
            "Cost", SUM ( 'Facility Cost'[Facilities Costs] )
        ),
        'Facility Cost'[City] &amp;lt;&amp;gt; BLANK ()
            &amp;amp;&amp;amp; 'Facility Cost'[Market] IN VALUES ( Marketing[Market] )
    )
RETURN
    SUMX ( cc, [Cost] )
&lt;/LI-CODE&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;" lang="zh-CN"&gt;3.The final result is as follows:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlinyulumsft_4-1733470511093.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1211017i0FAB047870877EA0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_4-1733470511093.png" alt="vlinyulumsft_4-1733470511093.png" /&gt;&lt;/span&gt;&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;&lt;SPAN&gt;&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Of course, if you have any new discoveries or questions, please feel free to get in touch with us.&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;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;EM&gt;helps&lt;/EM&gt;, then please consider Accept it &lt;EM&gt;&lt;STRONG&gt;as the solution &lt;/STRONG&gt;&lt;/EM&gt;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2024 07:36:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Filter-temporal-table-with-filter-value/m-p/4316609#M58583</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-12-06T07:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Filter temporal table with filter value</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Filter-temporal-table-with-filter-value/m-p/4322575#M58636</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank you Leroy, excelent workaround.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 00:42:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Filter-temporal-table-with-filter-value/m-p/4322575#M58636</guid>
      <dc:creator>carrascojg</dc:creator>
      <dc:date>2024-12-11T00:42:26Z</dc:date>
    </item>
  </channel>
</rss>

