<?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: Translate Qlik aggr expression to DAX? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Translate-Qlik-aggr-expression-to-DAX/m-p/2826593#M89880</link>
    <description>&lt;P&gt;The Qlik aggr function, aggregates a field by a set of fields, I will try to translate into natural language your measure but it's better to provide a expected result to be more accurate&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;timestamp(&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-- format into time stamp&lt;BR /&gt;min(&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;-- get the minimum value of ..&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&amp;lt;ColumnX -= {0}&amp;gt;} -- set analysis to filter out&amp;nbsp;ColumnX = 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;aggr(&lt;BR /&gt;min({&amp;lt;ColumnX -= {0}&amp;gt;} ColumnN,', ')&lt;BR /&gt;,ColumnZ,ColumnY, ColumnX)) -- we get field&amp;nbsp;ColumnN, where row of&amp;nbsp;ColumnX = 0 are filtered out aggregated by&amp;nbsp;ColumnZ,ColumnY, ColumnX&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if I try to translate into dax these components :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;AggMinValueMeasure = 

VAR AggrMin = SUMMARIZE (
ADDCOLUMNS(
	CALCULATETABLE (
SUMMARIZE (
'Table',
'Table'[Column1],
'Table'[Column2]
),
'Table'[Column1] &amp;lt;&amp;gt; 0
)
,
	"Column1-1", 'Table'[Column1],
	"Column2-2",'Table'[Column2]
),
	"_Min", Min('Table'[Column2])
)

Return AggrMin&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And then format the measure into timestamp in the graphical UI.&lt;/P&gt;&lt;P&gt;Hope this helps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 09 Oct 2022 20:08:33 GMT</pubDate>
    <dc:creator>lazurens2</dc:creator>
    <dc:date>2022-10-09T20:08:33Z</dc:date>
    <item>
      <title>Translate Qlik aggr expression to DAX?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Translate-Qlik-aggr-expression-to-DAX/m-p/2826377#M89871</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to translate below expression to DAX or is there another way of achieving&amp;nbsp;the outcome in PBI? I want to translate a table from Qlik into a matrix visual but i cant figure out how to get the aggr equivalent.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;timestamp(&lt;BR /&gt;min({&amp;lt;ColumnX -= {0}&amp;gt;}aggr(&lt;BR /&gt;min({&amp;lt;ColumnX -= {0}&amp;gt;} ColumnN,', ')&lt;BR /&gt;,ColumnZ,ColumnY, ColumnX))&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR Tommy&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2022 16:38:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Translate-Qlik-aggr-expression-to-DAX/m-p/2826377#M89871</guid>
      <dc:creator>Sellgren7</dc:creator>
      <dc:date>2022-10-07T16:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Translate Qlik aggr expression to DAX?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Translate-Qlik-aggr-expression-to-DAX/m-p/2826593#M89880</link>
      <description>&lt;P&gt;The Qlik aggr function, aggregates a field by a set of fields, I will try to translate into natural language your measure but it's better to provide a expected result to be more accurate&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;timestamp(&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-- format into time stamp&lt;BR /&gt;min(&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;-- get the minimum value of ..&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&amp;lt;ColumnX -= {0}&amp;gt;} -- set analysis to filter out&amp;nbsp;ColumnX = 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;aggr(&lt;BR /&gt;min({&amp;lt;ColumnX -= {0}&amp;gt;} ColumnN,', ')&lt;BR /&gt;,ColumnZ,ColumnY, ColumnX)) -- we get field&amp;nbsp;ColumnN, where row of&amp;nbsp;ColumnX = 0 are filtered out aggregated by&amp;nbsp;ColumnZ,ColumnY, ColumnX&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if I try to translate into dax these components :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;AggMinValueMeasure = 

VAR AggrMin = SUMMARIZE (
ADDCOLUMNS(
	CALCULATETABLE (
SUMMARIZE (
'Table',
'Table'[Column1],
'Table'[Column2]
),
'Table'[Column1] &amp;lt;&amp;gt; 0
)
,
	"Column1-1", 'Table'[Column1],
	"Column2-2",'Table'[Column2]
),
	"_Min", Min('Table'[Column2])
)

Return AggrMin&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And then format the measure into timestamp in the graphical UI.&lt;/P&gt;&lt;P&gt;Hope this helps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Oct 2022 20:08:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Translate-Qlik-aggr-expression-to-DAX/m-p/2826593#M89880</guid>
      <dc:creator>lazurens2</dc:creator>
      <dc:date>2022-10-09T20:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Translate Qlik aggr expression to DAX?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Translate-Qlik-aggr-expression-to-DAX/m-p/2830714#M90175</link>
      <description>&lt;P&gt;Thanks for the quick reply, but i dont fully understand how this will aggregate over several columns? I only see Column1 = ColumnX and Column2 = ColumnN.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 10:50:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Translate-Qlik-aggr-expression-to-DAX/m-p/2830714#M90175</guid>
      <dc:creator>Sellgren7</dc:creator>
      <dc:date>2022-10-10T10:50:39Z</dc:date>
    </item>
  </channel>
</rss>

