<?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: Battling to get a cubeset to sort correctly in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Battling-to-get-a-cubeset-to-sort-correctly/m-p/4169363#M165635</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="810835" data-lia-user-login="Darryll_B1986" class="lia-mention lia-mention-user"&gt;Darryll_B1986&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the reply from&amp;nbsp;ahadkarimi&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="810835" data-lia-user-login="Darryll_B1986" class="lia-mention lia-mention-user"&gt;Darryll_B1986&lt;/a&gt;&amp;nbsp;, if the problem persists, could you please provide some sample data and desired results based on the sample data so we can better help you?&amp;nbsp;&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;How to provide sample data in the Power BI Forum - Microsoft Fabric Community&lt;/A&gt;&amp;nbsp;Or show them as screenshots. Please remove any sensitive data in advance.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Yulia Xu&lt;/P&gt;</description>
    <pubDate>Tue, 24 Sep 2024 05:33:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-09-24T05:33:17Z</dc:date>
    <item>
      <title>Battling to get a cubeset to sort correctly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Battling-to-get-a-cubeset-to-sort-correctly/m-p/4167522#M165562</link>
      <description>&lt;P&gt;Good afternoon everyone&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new here &amp;amp; this is my first post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been searching the web &amp;amp; have not managed to find a solution to my problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using the following formula, I am able to get the correct list of suppliers, but I am wanting to sort the list based on Units for the whole period (12 months).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=CUBESET("ThisWorkbookDataModel","Except(Filter(EXISTS([OCR_VW_RPT_OCR].[PARENT_SUPPLIER_NAME].MEMBERS,[OCR_VW_RPT_OCR].[RETAINED_MONTH].[01 Aug 2024].lag(11):[OCR_VW_RPT_OCR].[RETAINED_MONTH].[01 Aug 2024]),[Measures].[EACT UNITS]&amp;gt;0),[OCR_VW_RPT_OCR].[PARENT_SUPPLIER_NAME].[All])","PARENTSUPPLIERNAME",2,"[Measures].[EACT UNITS]")&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Can anyone spot the syntax error or is there maybe a different way/method of doing this? My generated list matches my manually created list perfectly, but the sort does not.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Any help on this would be highly appreciated.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Thanks,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Darryll&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 14:29:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Battling-to-get-a-cubeset-to-sort-correctly/m-p/4167522#M165562</guid>
      <dc:creator>Darryll_B1986</dc:creator>
      <dc:date>2024-09-23T14:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: Battling to get a cubeset to sort correctly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Battling-to-get-a-cubeset-to-sort-correctly/m-p/4167676#M165572</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="810835" data-lia-user-login="Darryll_B1986" class="lia-mention lia-mention-user"&gt;Darryll_B1986&lt;/a&gt;, give this a try, and if you encounter any issues, let me know.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=CUBESET("ThisWorkbookDataModel", 
    "Except(
        Filter(
            EXISTS([OCR_VW_RPT_OCR].[PARENT_SUPPLIER_NAME].MEMBERS,
            [OCR_VW_RPT_OCR].[RETAINED_MONTH].[01 Aug 2024].lag(11):[OCR_VW_RPT_OCR].[RETAINED_MONTH].[01 Aug 2024]), 
            [Measures].[EACT UNITS]&amp;gt;0),
            [OCR_VW_RPT_OCR].[PARENT_SUPPLIER_NAME].[All]
        ), 
        [Measures].[EACT UNITS]
    )", 
    "PARENTSUPPLIERNAME", 
    2, 
    "[Measures].[EACT UNITS]"
)&lt;/LI-CODE&gt;&lt;P align="center"&gt;&lt;FONT face="verdana,geneva"&gt;&lt;FONT color="#99CC00"&gt;&lt;STRONG&gt;Did I answer your question?&lt;/STRONG&gt;&lt;/FONT&gt; &lt;FONT color="#99CC00"&gt;&lt;STRONG&gt;If so, please mark my post as the solution! &lt;span class="lia-unicode-emoji" title=":heavy_check_mark:"&gt;✔️&lt;/span&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="verdana,geneva"&gt;&lt;FONT color="#99CC00"&gt;&lt;STRONG&gt;Your Kudos are much appreciated!&lt;/STRONG&gt;&lt;/FONT&gt; &lt;FONT color="#99CC00"&gt;&lt;STRONG&gt;Proud to be a Solution Specialist!&lt;/STRONG&gt;&lt;/FONT&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 15:04:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Battling-to-get-a-cubeset-to-sort-correctly/m-p/4167676#M165572</guid>
      <dc:creator>ahadkarimi</dc:creator>
      <dc:date>2024-09-23T15:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Battling to get a cubeset to sort correctly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Battling-to-get-a-cubeset-to-sort-correctly/m-p/4167946#M165586</link>
      <description>&lt;P&gt;Thank you for the reply&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="785426" data-lia-user-login="ahadkarimi" class="lia-mention lia-mention-user"&gt;ahadkarimi&lt;/a&gt;&amp;nbsp;, I get the following error when I use the formula provided, I think that there might be a missing " somewhere:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I cannot spot anything wrong with the formula though.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 16:31:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Battling-to-get-a-cubeset-to-sort-correctly/m-p/4167946#M165586</guid>
      <dc:creator>Darryll_B1986</dc:creator>
      <dc:date>2024-09-23T16:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Battling to get a cubeset to sort correctly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Battling-to-get-a-cubeset-to-sort-correctly/m-p/4169363#M165635</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="810835" data-lia-user-login="Darryll_B1986" class="lia-mention lia-mention-user"&gt;Darryll_B1986&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the reply from&amp;nbsp;ahadkarimi&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="810835" data-lia-user-login="Darryll_B1986" class="lia-mention lia-mention-user"&gt;Darryll_B1986&lt;/a&gt;&amp;nbsp;, if the problem persists, could you please provide some sample data and desired results based on the sample data so we can better help you?&amp;nbsp;&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;How to provide sample data in the Power BI Forum - Microsoft Fabric Community&lt;/A&gt;&amp;nbsp;Or show them as screenshots. Please remove any sensitive data in advance.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Yulia Xu&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 05:33:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Battling-to-get-a-cubeset-to-sort-correctly/m-p/4169363#M165635</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-24T05:33:17Z</dc:date>
    </item>
  </channel>
</rss>

