<?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: Rank the sum of each column and visualize in a sorted 'top N' horisontal bar chart in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-the-sum-of-each-column-and-visualize-in-a-sorted-top-N/m-p/1782655#M37418</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;i have tried out this topic and i think i have way you can do it.&lt;BR /&gt;&lt;BR /&gt;What i did is, i went into PowerQuery and unpivoted the table&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;First it looks like your table and afterwards like this screenshot:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;And this would already work for getting the horizontal bar chart&lt;BR /&gt;&lt;BR /&gt;Axis would be your Attribute (Instrument)&lt;BR /&gt;Value the Value&amp;nbsp;&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;Now you can add a Top N Filter on the visualisation.&lt;BR /&gt;&lt;BR /&gt;Does this help you?&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;Tyree&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Apr 2021 14:25:38 GMT</pubDate>
    <dc:creator>SmithT</dc:creator>
    <dc:date>2021-04-13T14:25:38Z</dc:date>
    <item>
      <title>Rank the sum of each column and visualize in a sorted 'top N' horisontal bar chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-the-sum-of-each-column-and-visualize-in-a-sorted-top-N/m-p/1782537#M37415</link>
      <description>&lt;P&gt;I'm banging my head against the wall on this one. I thought it would be easy, but for some reason I cannot get it to work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Consider the following table&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;timestamp&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Instrument A&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Instrument B&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Instrument C&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Instrument D&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;10.01.2021 10:00:00&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;10.01.2021 11:00:00&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;11.01.2021 10:00:00&lt;/TD&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;12.01.2021&amp;nbsp;10:00:00&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;13.01.2021&amp;nbsp;10:00:00&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;14.01.2021&amp;nbsp;10:00:00&lt;/TD&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;3&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;14.01.2021&amp;nbsp;11:00:00&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;What I want to do is&amp;nbsp;&lt;BR /&gt;1. Sum the value of each colum (in this case that would be 39, 36, 37, 47 from left to right)&lt;BR /&gt;2. Show the sums in an 'Top N' chart sorted decending&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;In my real world case I have some 20 columns and 50000 rows, but the principle is the same.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any tips ?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 13:39:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-the-sum-of-each-column-and-visualize-in-a-sorted-top-N/m-p/1782537#M37415</guid>
      <dc:creator>Kahrax</dc:creator>
      <dc:date>2021-04-13T13:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: Rank the sum of each column and visualize in a sorted 'top N' horisontal bar chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-the-sum-of-each-column-and-visualize-in-a-sorted-top-N/m-p/1782655#M37418</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;i have tried out this topic and i think i have way you can do it.&lt;BR /&gt;&lt;BR /&gt;What i did is, i went into PowerQuery and unpivoted the table&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;First it looks like your table and afterwards like this screenshot:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;And this would already work for getting the horizontal bar chart&lt;BR /&gt;&lt;BR /&gt;Axis would be your Attribute (Instrument)&lt;BR /&gt;Value the Value&amp;nbsp;&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;Now you can add a Top N Filter on the visualisation.&lt;BR /&gt;&lt;BR /&gt;Does this help you?&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;Tyree&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 14:25:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-the-sum-of-each-column-and-visualize-in-a-sorted-top-N/m-p/1782655#M37418</guid>
      <dc:creator>SmithT</dc:creator>
      <dc:date>2021-04-13T14:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Rank the sum of each column and visualize in a sorted 'top N' horisontal bar chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-the-sum-of-each-column-and-visualize-in-a-sorted-top-N/m-p/1783807#M37446</link>
      <description>&lt;P&gt;Thanks for your feedback &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;BR /&gt;Yeah, this would probably work. My current problem is that all the columns are calculated colums in DAX. The columns does not excist in the power query environment. So using your solution I would need to be able to make the calculated colums in power query. It can probably be done.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The "less work approach" would be to do this in DAX, if possible &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 06:46:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-the-sum-of-each-column-and-visualize-in-a-sorted-top-N/m-p/1783807#M37446</guid>
      <dc:creator>Kahrax</dc:creator>
      <dc:date>2021-04-14T06:46:34Z</dc:date>
    </item>
  </channel>
</rss>

