<?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 Using the User's selected value from one GenerateSeries function as a parameter in another. in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-the-User-s-selected-value-from-one-GenerateSeries-function/m-p/2207982#M52029</link>
    <description>&lt;P&gt;Hi, I'm trying to allow the user to set a series of 'bandings' which the dashboard will then use to group items of corresponding value together.&amp;nbsp; For example, I imagine the end output might look something like:&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;Lower Banding&lt;/TD&gt;&lt;TD&gt;Upper Banding&lt;/TD&gt;&lt;TD&gt;Total count of items valued between those bands&lt;/TD&gt;&lt;TD&gt;Total value of items valued between those bands&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;432&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;TD&gt;500&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;1,123&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;500&lt;/TD&gt;&lt;TD&gt;1000&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;2,467&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I basically want to allow the user to select the values of the second column using a series of parameters, but I want to set the lower bound of each GenerateSeries function to whatever the user's selection was for the previous upper band. So the GenerateSeries for the first band might look like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;GENERATESERIES( 0, 10000, 1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;the second might look like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;GENERATESERIES( [Band 1 Selection Value], 10000, 1)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;and the third like this:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;GENERATESERIES( [Band 2 Selection Value], 10000, 1)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Each time ensureing the user cannot select a value that overlaps the previous banding and therfore won't produce an acurate result.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;However... the way I've done this here doesn't seem to work. Has anyone got any suggestions?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Many thanks in advance.&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 25 Nov 2021 15:19:53 GMT</pubDate>
    <dc:creator>Gdh1091</dc:creator>
    <dc:date>2021-11-25T15:19:53Z</dc:date>
    <item>
      <title>Using the User's selected value from one GenerateSeries function as a parameter in another.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-the-User-s-selected-value-from-one-GenerateSeries-function/m-p/2207982#M52029</link>
      <description>&lt;P&gt;Hi, I'm trying to allow the user to set a series of 'bandings' which the dashboard will then use to group items of corresponding value together.&amp;nbsp; For example, I imagine the end output might look something like:&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;Lower Banding&lt;/TD&gt;&lt;TD&gt;Upper Banding&lt;/TD&gt;&lt;TD&gt;Total count of items valued between those bands&lt;/TD&gt;&lt;TD&gt;Total value of items valued between those bands&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;432&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;TD&gt;500&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;1,123&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;500&lt;/TD&gt;&lt;TD&gt;1000&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;2,467&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I basically want to allow the user to select the values of the second column using a series of parameters, but I want to set the lower bound of each GenerateSeries function to whatever the user's selection was for the previous upper band. So the GenerateSeries for the first band might look like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;GENERATESERIES( 0, 10000, 1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;the second might look like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;GENERATESERIES( [Band 1 Selection Value], 10000, 1)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;and the third like this:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;GENERATESERIES( [Band 2 Selection Value], 10000, 1)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Each time ensureing the user cannot select a value that overlaps the previous banding and therfore won't produce an acurate result.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;However... the way I've done this here doesn't seem to work. Has anyone got any suggestions?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Many thanks in advance.&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 25 Nov 2021 15:19:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-the-User-s-selected-value-from-one-GenerateSeries-function/m-p/2207982#M52029</guid>
      <dc:creator>Gdh1091</dc:creator>
      <dc:date>2021-11-25T15:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using the User's selected value from one GenerateSeries function as a parameter in another.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-the-User-s-selected-value-from-one-GenerateSeries-function/m-p/2215492#M52424</link>
      <description>&lt;P&gt;Hi&amp;nbsp; &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="326735" data-lia-user-login="Gdh1091" class="lia-mention lia-mention-user"&gt;Gdh1091&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In GENERATESERIES, Returns a table with one column, populated with sequential values from start to end. It is equivalent to a calculation table, and the contents of the calculation table cannot be filtered along with it.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/dax/generateseries-function" target="_blank"&gt;https://docs.microsoft.com/en-us/dax/generateseries-function&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regarding the initial value of GENERATESERIES, you can check the following link:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/How-to-generate-series-based-on-measure-values/td-p/1375207" target="_blank"&gt;https://community.powerbi.com/t5/Desktop/How-to-generate-series-based-on-measure-values/td-p/1375207&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/GENERATESERIES-with-dynamic-EndValue/td-p/792822" target="_blank"&gt;https://community.powerbi.com/t5/Desktop/GENERATESERIES-with-dynamic-EndValue/td-p/792822&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Liu Yang&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;Accept it as the solution&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 06:43:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-the-User-s-selected-value-from-one-GenerateSeries-function/m-p/2215492#M52424</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-01T06:43:39Z</dc:date>
    </item>
  </channel>
</rss>

