<?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: TOPN with parameters &amp;amp; slicers in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TOPN-with-parameters-amp-slicers/m-p/3609856#M139538</link>
    <description>&lt;P&gt;Many thanks for the response, and first of all I would like to wish you a good and prosperous 2024 and let you know that your words "it is very complex" makes me feel less stupid &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I wasn't familiar with the 'include' yet, so I'm going to look into that further. Looks promising. Perhaps I can use it by creating a separate measurement for each item (mm. rain - avg.temp etc.) and combining that with a parameter and topN.&lt;BR /&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;By the way, at the av.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;temp.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;the intention was not to add these up (sum) but to calculate the average (average), but that is a small matter.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Many thanks again!!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best regards, Rud.&lt;/P&gt;</description>
    <pubDate>Mon, 01 Jan 2024 21:14:14 GMT</pubDate>
    <dc:creator>RGR</dc:creator>
    <dc:date>2024-01-01T21:14:14Z</dc:date>
    <item>
      <title>TOPN with parameters &amp; slicers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TOPN-with-parameters-amp-slicers/m-p/3603251#M139214</link>
      <description>&lt;P&gt;Hello all,&lt;BR /&gt;&lt;BR /&gt;I have a table with weather details.&lt;BR /&gt;Every day, for 50 years, details like max. temp &amp;amp; mm. rain are updated.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Below you see a screenshot of an overview page, with on top the parameter (12 items) and on the right slicers for year / decade / month / date etc.&lt;BR /&gt;&lt;BR /&gt;I would like only the bars for the top10 results to be shown. For example the top 10 days/weeks/months/years based on total mm. rain for the past 50 years ... or the top 10 days/weeks/months/years based on the average max. temp in the past 50 years ... and so on.&lt;BR /&gt;&lt;BR /&gt;Besides that would it be nice of the bar of this year would have an slighty different color.&lt;BR /&gt;&lt;BR /&gt;Would appereciate your help / tips very much.&lt;BR /&gt;Thkx in advance, Rud.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 08:39:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TOPN-with-parameters-amp-slicers/m-p/3603251#M139214</guid>
      <dc:creator>RGR</dc:creator>
      <dc:date>2023-12-28T08:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: TOPN with parameters &amp; slicers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TOPN-with-parameters-amp-slicers/m-p/3607865#M139400</link>
      <description>&lt;P&gt;Please provide sample data that covers your issue or question &lt;STRONG&gt;completely&lt;/STRONG&gt;, in a &lt;STRONG&gt;usable&lt;/STRONG&gt; format (not as a screenshot).&lt;BR /&gt;&lt;BR /&gt;Do not include sensitive information or anything not related to the issue or question. &lt;BR /&gt;&lt;BR /&gt;If you are unsure how to upload data please refer to &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;Want faster answers? &lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Dec 2023 02:08:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TOPN-with-parameters-amp-slicers/m-p/3607865#M139400</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-12-30T02:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: TOPN with parameters &amp; slicers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TOPN-with-parameters-amp-slicers/m-p/3608534#M139456</link>
      <description>&lt;P&gt;Thank you very much for your reply !&lt;BR /&gt;&lt;BR /&gt;I hope this will make things clear.&lt;BR /&gt;&lt;BR /&gt;Below you'll find a link to the source data.&lt;BR /&gt;This is weather data since 1951.&lt;BR /&gt;&lt;A title="Data source" href="https://docs.google.com/spreadsheets/d/1xeggYZF2v87tehk_wPNrdpqqVonJ2z7s/edit?usp=sharing&amp;amp;ouid=104922974233172277621&amp;amp;rtpof=true&amp;amp;sd=true" target="_blank" rel="noopener"&gt;Data2 source&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to visualize the following in a bar chart:&lt;BR /&gt;&lt;BR /&gt;Top10 for all the items for all the periods (by slicer).&lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt;TOP10 years (desc) for the month jan. with the most monthly rain in mm.&lt;BR /&gt;TOP10 years (desc) for the years mith the most anual rain in mm.&lt;BR /&gt;TOP10 years (desc) for the days 01-march with the most daily rain on that day.&lt;BR /&gt;And so on, depending on slicer settings (see attachment).&lt;BR /&gt;&lt;BR /&gt;Same for the average max. temp / min. temp.&lt;BR /&gt;&lt;BR /&gt;If the current year is in the TOP10, the bar of the current year should be in a different colour.&lt;BR /&gt;&lt;BR /&gt;Hope this gives a better understanding.&lt;BR /&gt;&lt;BR /&gt;Thankx in advance and all the best for 2024 for you (all).&lt;BR /&gt;Best regards, Rud.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Dec 2023 20:16:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TOPN-with-parameters-amp-slicers/m-p/3608534#M139456</guid>
      <dc:creator>RGR</dc:creator>
      <dc:date>2023-12-30T20:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: TOPN with parameters &amp; slicers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TOPN-with-parameters-amp-slicers/m-p/3608623#M139463</link>
      <description>&lt;P&gt;Please confirm that you need bar charts for all of these - that would mean you couldn't use a proper calendar table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively you could use table visuals.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Dec 2023 23:04:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TOPN-with-parameters-amp-slicers/m-p/3608623#M139463</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-12-30T23:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: TOPN with parameters &amp; slicers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TOPN-with-parameters-amp-slicers/m-p/3608716#M139473</link>
      <description>&lt;P&gt;Thank you very much again!&lt;BR /&gt;&lt;BR /&gt;It must be due to my bad English, but this is not what i'm looking for. Your table shows the max. value of rain for 1 day in jan.&lt;BR /&gt;&lt;BR /&gt;What i'm looking for is:&lt;BR /&gt;How is a specific period (could be a single day, week, month, quarter or year) be compared to the top 10 of the same period in previous years.&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;The amount of rain on 15-01-23, how does it compare to the amount of rain on the same day (15-01) in the previous years. And show it in a bar chart with the top 10 results (years) desc.&lt;BR /&gt;Or,&lt;BR /&gt;The total amount of rain for december 2023,&amp;nbsp;how does it compare to the total amount of rain in the same month (december) in the previous years. And show it in a bar chart with the top 10 results (years) desc.&lt;BR /&gt;Or,&lt;BR /&gt;The average max. temp for the month of june 2023,&amp;nbsp;how does it compare to the the average max. temp. in the same month (june) in the previous years. And show it in a bar chart with the top 10 results (years) desc.&lt;BR /&gt;&lt;BR /&gt;The period (date/week/month/quarter...) must be dynamic, so handled by slicer (not by filter).&lt;BR /&gt;&lt;BR /&gt;Below a sample of how it should look like, beware this is NOT based on my data. Just to give you an idea.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Again many thanks for trying to help me out with this!!&lt;BR /&gt;&lt;BR /&gt;Best regards, Rud.&lt;/P&gt;</description>
      <pubDate>Sun, 31 Dec 2023 09:25:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TOPN-with-parameters-amp-slicers/m-p/3608716#M139473</guid>
      <dc:creator>RGR</dc:creator>
      <dc:date>2023-12-31T09:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: TOPN with parameters &amp; slicers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TOPN-with-parameters-amp-slicers/m-p/3609042#M139506</link>
      <description>&lt;P&gt;see attached for an approximation.&amp;nbsp; Your "TOP 10"&amp;nbsp; request is very complex, and may not be needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not aware of an automatic indentation option - you will need to traverse the matrix hierarchy yourself after you selected the filter granularity.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 31 Dec 2023 22:19:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TOPN-with-parameters-amp-slicers/m-p/3609042#M139506</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-12-31T22:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: TOPN with parameters &amp; slicers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TOPN-with-parameters-amp-slicers/m-p/3609856#M139538</link>
      <description>&lt;P&gt;Many thanks for the response, and first of all I would like to wish you a good and prosperous 2024 and let you know that your words "it is very complex" makes me feel less stupid &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I wasn't familiar with the 'include' yet, so I'm going to look into that further. Looks promising. Perhaps I can use it by creating a separate measurement for each item (mm. rain - avg.temp etc.) and combining that with a parameter and topN.&lt;BR /&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;By the way, at the av.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;temp.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;the intention was not to add these up (sum) but to calculate the average (average), but that is a small matter.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Many thanks again!!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best regards, Rud.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jan 2024 21:14:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TOPN-with-parameters-amp-slicers/m-p/3609856#M139538</guid>
      <dc:creator>RGR</dc:creator>
      <dc:date>2024-01-01T21:14:14Z</dc:date>
    </item>
  </channel>
</rss>

