<?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 how to return the selected value of slicer and add it as a field in summarize table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-return-the-selected-value-of-slicer-and-add-it-as-a-field/m-p/4029857#M159312</link>
    <description>&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;I use selectedvalue but it fails to get the expected result.&lt;/P&gt;&lt;P&gt;for example,&lt;/P&gt;&lt;P&gt;ADDCOLUMNS(&lt;BR /&gt;SUMMARIZE('fact_tbl',&lt;BR /&gt;'fact_tbl'[week],&lt;BR /&gt;'fact_tbl'[gpn],&lt;BR /&gt;fact_tbl[base_currency],&lt;BR /&gt;fact_tbl[type],&lt;BR /&gt;"amount",CALCULATE(SUM('fact_tbl'[amount])0&lt;BR /&gt;)&lt;BR /&gt;,"selectedrk", &lt;STRONG&gt;SELECTEDVALUE(dim_topxslicer[col]))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;it fails to get the expected result, do you know how to return selected slicer value in summarize and addcolumns function? Thank you.&lt;/P&gt;</description>
    <pubDate>Mon, 08 Jul 2024 09:37:05 GMT</pubDate>
    <dc:creator>oakfootballclub</dc:creator>
    <dc:date>2024-07-08T09:37:05Z</dc:date>
    <item>
      <title>how to return the selected value of slicer and add it as a field in summarize table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-return-the-selected-value-of-slicer-and-add-it-as-a-field/m-p/4029857#M159312</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;I use selectedvalue but it fails to get the expected result.&lt;/P&gt;&lt;P&gt;for example,&lt;/P&gt;&lt;P&gt;ADDCOLUMNS(&lt;BR /&gt;SUMMARIZE('fact_tbl',&lt;BR /&gt;'fact_tbl'[week],&lt;BR /&gt;'fact_tbl'[gpn],&lt;BR /&gt;fact_tbl[base_currency],&lt;BR /&gt;fact_tbl[type],&lt;BR /&gt;"amount",CALCULATE(SUM('fact_tbl'[amount])0&lt;BR /&gt;)&lt;BR /&gt;,"selectedrk", &lt;STRONG&gt;SELECTEDVALUE(dim_topxslicer[col]))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;it fails to get the expected result, do you know how to return selected slicer value in summarize and addcolumns function? Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 09:37:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-return-the-selected-value-of-slicer-and-add-it-as-a-field/m-p/4029857#M159312</guid>
      <dc:creator>oakfootballclub</dc:creator>
      <dc:date>2024-07-08T09:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to return the selected value of slicer and add it as a field in summarize table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-return-the-selected-value-of-slicer-and-add-it-as-a-field/m-p/4029908#M159313</link>
      <description>&lt;P&gt;Hello &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="701709" data-lia-user-login="oakfootballclub" class="lia-mention lia-mention-user"&gt;oakfootballclub&lt;/a&gt;&amp;nbsp;, and thank you for sharing a question with the Community.&amp;nbsp; Please remember to adhere to the decorum of the Community Forum when asking a question.&lt;BR /&gt;&lt;BR /&gt;Please provide your work-in-progress Power BI Desktop file (with sensitive information removed) that covers your issue or question completely in a usable format (not as a screenshot). You can upload the PBIX file to a cloud storage service such as OneDrive, Google Drive, Dropbox, or to a Github repository, and then share a file’s URL.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Please show the expected outcome based on the sample data you provided.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523/highlight/true#M607150" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523/highlight/true#M607150&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This allows members of the Forum to assess the state of the model, report layer, relationships, and any DAX applied.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 09:57:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-return-the-selected-value-of-slicer-and-add-it-as-a-field/m-p/4029908#M159313</guid>
      <dc:creator>foodd</dc:creator>
      <dc:date>2024-07-08T09:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to return the selected value of slicer and add it as a field in summarize table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-return-the-selected-value-of-slicer-and-add-it-as-a-field/m-p/4030232#M159342</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="701709" data-lia-user-login="oakfootballclub" class="lia-mention lia-mention-user"&gt;oakfootballclub&lt;/a&gt;&amp;nbsp;Hi! Can you paste some sample data?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 12:41:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-return-the-selected-value-of-slicer-and-add-it-as-a-field/m-p/4030232#M159342</guid>
      <dc:creator>BeaBF</dc:creator>
      <dc:date>2024-07-08T12:41:54Z</dc:date>
    </item>
  </channel>
</rss>

