<?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 add dynamic quantile ranges to a chart which change based on date selection in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-dynamic-quantile-ranges-to-a-chart-which-change-based/m-p/4005796#M156700</link>
    <description>&lt;P&gt;I thought as much..it seems like that. That DAX is going to be complicated &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 23 Jun 2024 21:22:34 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-06-23T21:22:34Z</dc:date>
    <item>
      <title>How to add dynamic quantile ranges to a chart which change based on date selection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-dynamic-quantile-ranges-to-a-chart-which-change-based/m-p/4005433#M156466</link>
      <description>&lt;P&gt;Hi all - I have been asked for a request that has had my head scratching for a week. I have to build using measures only as calculated columns wont work because the calculation is dynamic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Context&lt;/STRONG&gt;&lt;BR /&gt;I have built some DAX measures which calculates the quantiles for a set of data for YTD purchases for suppliers.&lt;BR /&gt;&lt;BR /&gt;We select the month and year, the measure will calculate YTD purchases for suppliers and then use PERCENTILEX.INC to calculate the quantiles.&lt;BR /&gt;&lt;BR /&gt;The PERCENTILEX.INC function will calculate the YTD Purchase boundaries for the quantile boundaries.&lt;BR /&gt;&lt;BR /&gt;For example, for month 6, if I have 100 suppliers, they are ranked from lowest to highest spend. The function will then go to the supplier 25th position and identify how much they spent, say $150. This means that the lowest 25% (Q1) spent $150 or less.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If I select month 12, I may have 500 suppliers. In which case, Q1 will be 1/4 of population which is 100. Therefore function will go to the 100th position after sorting list low to high and identify spend value, say $75. This means that the lowest 25% (Q1) have spent $75 or less.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Problem&lt;/STRONG&gt;&lt;BR /&gt;I want to build a matrix visual with the quantile ranges on the rows and the values as total YTD spend. I have already built a measure for the YTD spend and can confirm it works. For the rows, I used a disconnected table with the quantile ranges, so it it would have Q1,Q2,etc. These values are static but I want to replace these with dynamic ranges using DAX.&lt;BR /&gt;&lt;BR /&gt;So instead of the axis name being called RQ1, it would be 1-39 and so forth.&lt;BR /&gt;&lt;BR /&gt;At the moment, I can only build a dynamic range and put in table as values - I cant put into rows or columns because its a measure.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Question -&lt;/STRONG&gt; is this even possible? I havent seen any examples of this. Ideally I want to turn this into a chart and was thinking of using Deneb, but I wanted to see what I could do with a native visual, for example a bubble chart where each quantile is placed evenly on the x-axis and the size of the bubble is determined by the value of YTD spend. Each quantile will have a dynamic label to let users know the distribution.&lt;BR /&gt;&lt;BR /&gt;Dont need someone to write the code for me, but if someone has a blog or another post that I could look or has come across a similar issue, I would appreaciate if they could post their thoughts.&lt;BR /&gt;&lt;BR /&gt;Thank you in advance!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jun 2024 08:04:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-dynamic-quantile-ranges-to-a-chart-which-change-based/m-p/4005433#M156466</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-23T08:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to add dynamic quantile ranges to a chart which change based on date selection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-dynamic-quantile-ranges-to-a-chart-which-change-based/m-p/4005712#M156606</link>
      <description>&lt;P&gt;Power BI does not support dynamic bucketing. You need to bring your own static buckets, in a disconnected table, so you can use that for your x axis.&amp;nbsp; Then use measures to fill the buckets as needed.&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jun 2024 17:59:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-dynamic-quantile-ranges-to-a-chart-which-change-based/m-p/4005712#M156606</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-06-23T17:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to add dynamic quantile ranges to a chart which change based on date selection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-dynamic-quantile-ranges-to-a-chart-which-change-based/m-p/4005796#M156700</link>
      <description>&lt;P&gt;I thought as much..it seems like that. That DAX is going to be complicated &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jun 2024 21:22:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-dynamic-quantile-ranges-to-a-chart-which-change-based/m-p/4005796#M156700</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-23T21:22:34Z</dc:date>
    </item>
  </channel>
</rss>

