<?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: sorting legend based on two criteria in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/sorting-legend-based-on-two-criteria/m-p/3684442#M32757</link>
    <description>&lt;P&gt;Whatever the layer, if they share the same encoding channel, Vega will likely resolve them to the same scale (and sort). Your best bet would be to use a window transform to generate a numeric order based on grouping and sorting of multiple fields in the dataset and then sort on that.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Feb 2024 02:31:30 GMT</pubDate>
    <dc:creator>dm-p</dc:creator>
    <dc:date>2024-02-07T02:31:30Z</dc:date>
    <item>
      <title>sorting legend based on two criteria</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/sorting-legend-based-on-two-criteria/m-p/3682221#M32726</link>
      <description>&lt;P&gt;I have a simple dataset that contains each supplier's sale in each year. I made a bar chart with years in the x axis and suppliers' sale on the y axis and used supplier company as legend.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;BR /&gt;I want to sort the legend (suppliers) in each bar (year) based on the total sales of that supplier in that specific year.&lt;BR /&gt;I can sort them by all-time total sales of suppliers, but I dont know how to do this sorting in each year.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 07:52:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/sorting-legend-based-on-two-criteria/m-p/3682221#M32726</guid>
      <dc:creator>mojganmeibodi19</dc:creator>
      <dc:date>2024-02-06T07:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: sorting legend based on two criteria</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/sorting-legend-based-on-two-criteria/m-p/3684238#M32749</link>
      <description>&lt;P&gt;Not possible in the standard visual.&amp;nbsp; May not even be possible in Deneb unless&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="397" data-lia-user-login="dm-p" class="lia-mention lia-mention-user"&gt;dm-p&lt;/a&gt;&amp;nbsp;has an idea.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 00:22:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/sorting-legend-based-on-two-criteria/m-p/3684238#M32749</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-02-07T00:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: sorting legend based on two criteria</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/sorting-legend-based-on-two-criteria/m-p/3684366#M32752</link>
      <description>&lt;P&gt;Vega and Vega-Lite don't have sorting capabilities for more than one field using standard language constructs, but you can use transforms and window functions to create fields that dictate a sort order that you can then sort by.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 01:56:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/sorting-legend-based-on-two-criteria/m-p/3684366#M32752</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2024-02-07T01:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: sorting legend based on two criteria</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/sorting-legend-based-on-two-criteria/m-p/3684420#M32756</link>
      <description>&lt;P&gt;Could you layer the individual columns as separate marks with their own sort order? Or would you have to know the number of columns/marks beforehand?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 02:27:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/sorting-legend-based-on-two-criteria/m-p/3684420#M32756</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-02-07T02:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: sorting legend based on two criteria</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/sorting-legend-based-on-two-criteria/m-p/3684442#M32757</link>
      <description>&lt;P&gt;Whatever the layer, if they share the same encoding channel, Vega will likely resolve them to the same scale (and sort). Your best bet would be to use a window transform to generate a numeric order based on grouping and sorting of multiple fields in the dataset and then sort on that.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 02:31:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/sorting-legend-based-on-two-criteria/m-p/3684442#M32757</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2024-02-07T02:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: sorting legend based on two criteria</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/sorting-legend-based-on-two-criteria/m-p/3691627#M32818</link>
      <description>&lt;P&gt;Try Ribbon chart, and set transparency on connectors....&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2024 17:43:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/sorting-legend-based-on-two-criteria/m-p/3691627#M32818</guid>
      <dc:creator>josef78</dc:creator>
      <dc:date>2024-02-09T17:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: sorting legend based on two criteria</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/sorting-legend-based-on-two-criteria/m-p/3691657#M32819</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="686033" data-lia-user-login="mojganmeibodi19" class="lia-mention lia-mention-user"&gt;mojganmeibodi19&lt;/a&gt;&amp;nbsp;I think&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="236785" data-lia-user-login="josef78" class="lia-mention lia-mention-user"&gt;josef78&lt;/a&gt;&amp;nbsp;'s proposal is the best answer.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2024 18:11:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/sorting-legend-based-on-two-criteria/m-p/3691657#M32819</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-02-09T18:11:20Z</dc:date>
    </item>
  </channel>
</rss>

