<?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 Change a calculated table based on a selected value? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-a-calculated-table-based-on-a-selected-value/m-p/2564859#M73053</link>
    <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking at an interesting puzzle. Basically, we want to create a tiny store model in PBI with several variables that can be changed. The one I am looking at right now is number of aisles. Basically, I want to create a tiny summarize table that would change based on an input/what if slider.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's what the formula looks like (it isn't working) -&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Random Aisle Assignment = &lt;/SPAN&gt;&lt;SPAN&gt;summarize&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Pareto&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;Pareto[ITEM_ID]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;Pareto[Category]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"Aisles"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;RANDBETWEEN&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Aisles[Aisles]&lt;/SPAN&gt;&lt;SPAN&gt;)))&lt;BR /&gt;&lt;BR /&gt;Aisles is a what-if parameter with any number between 1 - 25. Item ID is the SKU ID, Category is what type of product (food, etc) that I want to ensure is equally distributed around the store.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Is something like this possible, where the table itsself changes based on an input value that the user - not the designer - could control? I'd like it to be so people can change it without editing any code and just being able to use a slicer to change.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 07 Jun 2022 19:08:48 GMT</pubDate>
    <dc:creator>Thigs</dc:creator>
    <dc:date>2022-06-07T19:08:48Z</dc:date>
    <item>
      <title>Change a calculated table based on a selected value?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-a-calculated-table-based-on-a-selected-value/m-p/2564859#M73053</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking at an interesting puzzle. Basically, we want to create a tiny store model in PBI with several variables that can be changed. The one I am looking at right now is number of aisles. Basically, I want to create a tiny summarize table that would change based on an input/what if slider.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's what the formula looks like (it isn't working) -&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Random Aisle Assignment = &lt;/SPAN&gt;&lt;SPAN&gt;summarize&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Pareto&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;Pareto[ITEM_ID]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;Pareto[Category]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"Aisles"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;RANDBETWEEN&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Aisles[Aisles]&lt;/SPAN&gt;&lt;SPAN&gt;)))&lt;BR /&gt;&lt;BR /&gt;Aisles is a what-if parameter with any number between 1 - 25. Item ID is the SKU ID, Category is what type of product (food, etc) that I want to ensure is equally distributed around the store.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Is something like this possible, where the table itsself changes based on an input value that the user - not the designer - could control? I'd like it to be so people can change it without editing any code and just being able to use a slicer to change.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 07 Jun 2022 19:08:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-a-calculated-table-based-on-a-selected-value/m-p/2564859#M73053</guid>
      <dc:creator>Thigs</dc:creator>
      <dc:date>2022-06-07T19:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Change a calculated table based on a selected value?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-a-calculated-table-based-on-a-selected-value/m-p/2568865#M73282</link>
      <description>&lt;P&gt;That is impossible.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Calculated columns and calculated tables are evaluated once when the data is loaded and are static until the data is refreshed.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 10:26:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-a-calculated-table-based-on-a-selected-value/m-p/2568865#M73282</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-09T10:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Change a calculated table based on a selected value?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-a-calculated-table-based-on-a-selected-value/m-p/2569865#M73349</link>
      <description>&lt;P&gt;Exactly what I needed to know, thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 18:13:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Change-a-calculated-table-based-on-a-selected-value/m-p/2569865#M73349</guid>
      <dc:creator>Thigs</dc:creator>
      <dc:date>2022-06-09T18:13:43Z</dc:date>
    </item>
  </channel>
</rss>

