<?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: How to exclude one field from summarize columns but still include it in the query in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/How-to-exclude-one-field-from-summarize-columns-but-still/m-p/1961197#M20140</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You don't want your value to be summarized by&amp;nbsp;&lt;SPAN&gt;PlannedMigrationDay column , by you still want to show it in the output table, am I right?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You need also a aggregation function to your&amp;nbsp;PlannedMigrationDay column like max or min, please try :&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;EVALUATE
ADDCOLUMNS(SUMMARIZECOLUMNS(
    UserResponse[Batch],
    UserResponse[Response],
    KEEPFILTERS( TREATAS( {"2"}, UserResponse[TenantID] )),
    KEEPFILTERS( TREATAS( {"4"}, UserResponse[QuestionID] )),
    "Responses", [Responses],
    "Responses %", [Responses %],
    "T-14", [T-14]
),"Date",CALCULATE(MAX(UserResponse[PlannedMigrationDay]),FILTER(UserResponse,UserResponse[Batch] = EARLIER(UserResponse[Batch])&amp;amp;&amp;amp;UserResponse[Response] = EARLIER(UserResponse[Response])))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;helps, then please consider&amp;nbsp;Accept it as the solution&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Dedmon Dai&lt;/P&gt;</description>
    <pubDate>Fri, 16 Jul 2021 06:21:41 GMT</pubDate>
    <dc:creator>v-deddai1-msft</dc:creator>
    <dc:date>2021-07-16T06:21:41Z</dc:date>
    <item>
      <title>How to exclude one field from summarize columns but still include it in the query</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-to-exclude-one-field-from-summarize-columns-but-still/m-p/1955316#M20107</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had to introduce the field [PlannedMigrationDay] in my query for the paginated report for the sole purpose of filtering the paginated report.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the query:&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;/* START QUERY BUILDER */
EVALUATE
SUMMARIZECOLUMNS(
    UserResponse[Batch],
    UserResponse[Response],
    UserResponse[PlannedMigrationDay],
    KEEPFILTERS( TREATAS( {"2"}, UserResponse[TenantID] )),
    KEEPFILTERS( TREATAS( {"4"}, UserResponse[QuestionID] )),
    "Responses", [Responses],
    "Responses %", [Responses %],
    "T-14", [T-14]
)
/* END QUERY BUILDER */&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I have one problem: when I have two different migration dates, my results are summarized by the date of migration whereas before they were aggregated by distinct values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I don't want my results to be aggregated by [PlannedMigrationDay]. How can I modify the query to avoid that, but still have that field in the dataset of my paginated report?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for the help!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;~Alienvolm&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2021 19:04:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-to-exclude-one-field-from-summarize-columns-but-still/m-p/1955316#M20107</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-07-13T19:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude one field from summarize columns but still include it in the query</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-to-exclude-one-field-from-summarize-columns-but-still/m-p/1955402#M20108</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Use SELECTCOLUMNS table function to get only the columns that you need.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://dax.guide/selectcolumns/" target="_blank"&gt;https://dax.guide/selectcolumns/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2021 19:42:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-to-exclude-one-field-from-summarize-columns-but-still/m-p/1955402#M20108</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2021-07-13T19:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude one field from summarize columns but still include it in the query</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-to-exclude-one-field-from-summarize-columns-but-still/m-p/1955581#M20109</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="52518" data-lia-user-login="Fowmy" class="lia-mention lia-mention-user"&gt;Fowmy&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't figure outr for the life of me how to make SELECTCOLUMNS work together with SUMMARIZECOLUMNS. I tried all combinations and the query just doesn't work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With SELECTCOLUMNS only it works, but I see the single rows of the table, which is not what I need. I need all the fields summarized but not by&amp;nbsp;&lt;SPAN&gt;UserResponse[PlannedMigrationDay].&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm not an expert with DAX Queries, so any additional help would be really appreciated! &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;~Alienvolm&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2021 20:35:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-to-exclude-one-field-from-summarize-columns-but-still/m-p/1955581#M20109</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-07-13T20:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude one field from summarize columns but still include it in the query</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-to-exclude-one-field-from-summarize-columns-but-still/m-p/1961197#M20140</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You don't want your value to be summarized by&amp;nbsp;&lt;SPAN&gt;PlannedMigrationDay column , by you still want to show it in the output table, am I right?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You need also a aggregation function to your&amp;nbsp;PlannedMigrationDay column like max or min, please try :&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;EVALUATE
ADDCOLUMNS(SUMMARIZECOLUMNS(
    UserResponse[Batch],
    UserResponse[Response],
    KEEPFILTERS( TREATAS( {"2"}, UserResponse[TenantID] )),
    KEEPFILTERS( TREATAS( {"4"}, UserResponse[QuestionID] )),
    "Responses", [Responses],
    "Responses %", [Responses %],
    "T-14", [T-14]
),"Date",CALCULATE(MAX(UserResponse[PlannedMigrationDay]),FILTER(UserResponse,UserResponse[Batch] = EARLIER(UserResponse[Batch])&amp;amp;&amp;amp;UserResponse[Response] = EARLIER(UserResponse[Response])))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;helps, then please consider&amp;nbsp;Accept it as the solution&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Dedmon Dai&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 06:21:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-to-exclude-one-field-from-summarize-columns-but-still/m-p/1961197#M20140</guid>
      <dc:creator>v-deddai1-msft</dc:creator>
      <dc:date>2021-07-16T06:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude one field from summarize columns but still include it in the query</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-to-exclude-one-field-from-summarize-columns-but-still/m-p/1962619#M20147</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="213267" data-lia-user-login="v-deddai1-msft" class="lia-mention lia-mention-user"&gt;v-deddai1-msft&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That worked! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;~Alienvolm&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 16:09:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-to-exclude-one-field-from-summarize-columns-but-still/m-p/1962619#M20147</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-07-16T16:09:20Z</dc:date>
    </item>
  </channel>
</rss>

