<?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: Adding multiple filters for calculate table function in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-multiple-filters-for-calculate-table-function/m-p/3412341#M129009</link>
    <description>&lt;P&gt;Use DAX Studio to evaluate the query plan for your DAX.&amp;nbsp; Then refactor your query to reduce the number of iteration/cartesians.&lt;/P&gt;</description>
    <pubDate>Sat, 02 Sep 2023 23:32:55 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2023-09-02T23:32:55Z</dc:date>
    <item>
      <title>Adding multiple filters for calculate table function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-multiple-filters-for-calculate-table-function/m-p/3407945#M128785</link>
      <description>&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is an extension of the problem here&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Extension-of-a-previous-DAX-Query/m-p/3398761#M128276" target="_blank" rel="noopener"&gt;https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Extension-of-a-previous-DAX-Query/m-p/3398761#M128276&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to extract SRF's between 2 levels ' Maxheight' and 'MidBot'&amp;nbsp; both of which are stored in 'Bottom_Middle' ..&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&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;&lt;P&gt;Now grabbing these 2 values I need to extract SRF's between these 2 levels from a different table&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Tower ID&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Mass&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;height&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;SRF&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;123&lt;/TD&gt;&lt;TD&gt;Cell 2&lt;/TD&gt;&lt;TD&gt;650&lt;/TD&gt;&lt;TD&gt;0.3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;123&lt;/TD&gt;&lt;TD&gt;Cell 2&lt;/TD&gt;&lt;TD&gt;500&lt;/TD&gt;&lt;TD&gt;0.25&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;123&lt;/TD&gt;&lt;TD&gt;Cell 2&lt;/TD&gt;&lt;TD&gt;450&lt;/TD&gt;&lt;TD&gt;0.1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;123&lt;/TD&gt;&lt;TD&gt;Cell 2&lt;/TD&gt;&lt;TD&gt;200&lt;/TD&gt;&lt;TD&gt;0.3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;123&lt;/TD&gt;&lt;TD&gt;Cell 2&lt;/TD&gt;&lt;TD&gt;50&lt;/TD&gt;&lt;TD&gt;0.2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;This is the code that I am using but infortuantely it is giving error message of limited memory and not working..&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;MID_Section_SRF_BYLEVEL = 
SELECTCOLUMNS(
	GENERATE(
		SELECTCOLUMNS(
			'Bottom_Middle',
			"Tower ID",Bottom_Middle[TowerModelId],
			"Midtop", Bottom_Middle[MIdtoplevel],
            "Midbot",Bottom_Middle[Bottom_Section_Height]
		),
		VAR MaxHeight = [Midtop]
        VAR Midbot=[Midbot]
		RETURN
			CALCULATETABLE(
				SELECTCOLUMNS(
					'TowerResultExtremeYielding',
					"height", TowerResultExtremeYielding[Level],
					"SRF", TowerResultExtremeYielding[Extreme_SRF],
                    "Loadcase", TowerResultExtremeYielding[LoadCase]
				),
				TowerResultExtremeYielding[Level] &amp;lt;= MaxHeight &amp;amp;&amp;amp; TowerResultExtremeYielding[Level] &amp;gt;=Midbot
			)
	),
	"Tower ID", [Tower ID],
	"Height", [height],
	"SRF", [SRF],
    "Loadcase",[LoadCase]
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me out here with the filter conditions...&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 05:13:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-multiple-filters-for-calculate-table-function/m-p/3407945#M128785</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-31T05:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: Adding multiple filters for calculate table function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-multiple-filters-for-calculate-table-function/m-p/3412341#M129009</link>
      <description>&lt;P&gt;Use DAX Studio to evaluate the query plan for your DAX.&amp;nbsp; Then refactor your query to reduce the number of iteration/cartesians.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Sep 2023 23:32:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-multiple-filters-for-calculate-table-function/m-p/3412341#M129009</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-09-02T23:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Adding multiple filters for calculate table function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-multiple-filters-for-calculate-table-function/m-p/3444557#M130945</link>
      <description>&lt;P&gt;I hope this message finds you well. I've noticed that this solution remain unresolved. If any of you have managed to find a resolution to the issue, I kindly request that you share your solution for the benefit of the entire community. Alternatively, if you're still facing challenges, please do let us know as well.&lt;/P&gt;
&lt;P&gt;Your insights and updates will greatly assist others who might be encountering the same challenge.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Sep 2023 07:56:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-multiple-filters-for-calculate-table-function/m-p/3444557#M130945</guid>
      <dc:creator>technolog</dc:creator>
      <dc:date>2023-09-24T07:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Adding multiple filters for calculate table function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-multiple-filters-for-calculate-table-function/m-p/3444590#M130976</link>
      <description>&lt;P&gt;Sorry for the delay. My problem has been solved here below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Extraction-of-Values-Between-2-levels-Multiple-Filters-in/m-p/3408749#M128815" target="_blank"&gt;Solved: Re: Extraction of Values Between 2 levels - Multip... - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Sep 2023 08:07:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-multiple-filters-for-calculate-table-function/m-p/3444590#M130976</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-09-24T08:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: Adding multiple filters for calculate table function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-multiple-filters-for-calculate-table-function/m-p/3444593#M130977</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; Thanks for sharing! It will help everyone else!&lt;/P&gt;</description>
      <pubDate>Sun, 24 Sep 2023 08:08:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-multiple-filters-for-calculate-table-function/m-p/3444593#M130977</guid>
      <dc:creator>technolog</dc:creator>
      <dc:date>2023-09-24T08:08:56Z</dc:date>
    </item>
  </channel>
</rss>

