<?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 Challenge with Month-Year filtering/order without creating new in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Challenge-with-Month-Year-filtering-order-without-creating-new/m-p/4157232#M165196</link>
    <description>&lt;P&gt;If I am correct, this is more specific to Power Pivot (where my data are located) and not PBI where this maybe is not issue.&lt;BR /&gt;I have dim table "plan per employee" for each quarter. In this plan, I would like to count added new customers to the the plan during quarter and to show it per employee by quarter/by month &lt;U&gt;&lt;STRONG&gt;by correct month orde&lt;/STRONG&gt;&lt;STRONG&gt;r&lt;/STRONG&gt;&lt;/U&gt;. Issue I have, and don't know how to bypass it without to create new dim table with Month-Year (I already have one dim Month-Year which is filtering dim Date for many other calculation and cannot filter "plan per employee with active connection):&lt;BR /&gt;How would I be able to count added customers per quarter and show it in correct month order with the already created Monht-Year table? Once I created new DimTable Month-Year I can simply do OrderB in data model and as this table directly filter "plan per employee" I don't have any issues. Would this somehow be possible with already existing "old" Month-Year table with inactive connection in order to decrease number of Dim Tables?&lt;BR /&gt;for now I have simply calculation COUNTA([DateAdded]), i tried with some DAX, but i am lost... Thank you to anyone who could help me out...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&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;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Sep 2024 14:48:27 GMT</pubDate>
    <dc:creator>al1981</dc:creator>
    <dc:date>2024-09-18T14:48:27Z</dc:date>
    <item>
      <title>Challenge with Month-Year filtering/order without creating new</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Challenge-with-Month-Year-filtering-order-without-creating-new/m-p/4157232#M165196</link>
      <description>&lt;P&gt;If I am correct, this is more specific to Power Pivot (where my data are located) and not PBI where this maybe is not issue.&lt;BR /&gt;I have dim table "plan per employee" for each quarter. In this plan, I would like to count added new customers to the the plan during quarter and to show it per employee by quarter/by month &lt;U&gt;&lt;STRONG&gt;by correct month orde&lt;/STRONG&gt;&lt;STRONG&gt;r&lt;/STRONG&gt;&lt;/U&gt;. Issue I have, and don't know how to bypass it without to create new dim table with Month-Year (I already have one dim Month-Year which is filtering dim Date for many other calculation and cannot filter "plan per employee with active connection):&lt;BR /&gt;How would I be able to count added customers per quarter and show it in correct month order with the already created Monht-Year table? Once I created new DimTable Month-Year I can simply do OrderB in data model and as this table directly filter "plan per employee" I don't have any issues. Would this somehow be possible with already existing "old" Month-Year table with inactive connection in order to decrease number of Dim Tables?&lt;BR /&gt;for now I have simply calculation COUNTA([DateAdded]), i tried with some DAX, but i am lost... Thank you to anyone who could help me out...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 14:48:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Challenge-with-Month-Year-filtering-order-without-creating-new/m-p/4157232#M165196</guid>
      <dc:creator>al1981</dc:creator>
      <dc:date>2024-09-18T14:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge with Month-Year filtering/order without creating new</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Challenge-with-Month-Year-filtering-order-without-creating-new/m-p/4157262#M165197</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="523197" data-lia-user-login="al1981" class="lia-mention lia-mention-user"&gt;al1981&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. For getting the right moth order,&amp;nbsp; If your Month-Year is stored as a text (e.g., "Jan 2023", "Feb 2023"), and it’s not ordering correctly, you can use the SORTBYCOLUMN feature in your model. Ensure your Month-Year column is sorted by an integer field such as a Month-Year Index (e.g., "202301", "202302"). This can ensure proper chronological sorting.&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; Using this measure you can re-activate the relationship between Dates table and Plan table &lt;FONT color="#FF0000"&gt;CALCULATE(COUNTA('PlanTable'[DateAdded]),USERELATIONSHIP('DimDate'[MonthYear], 'PlanTable'[MonthYear]))&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;U&gt;&lt;STRONG&gt;If you find this helpful , please mark it as solution and Your Kudos are much appreciated!&lt;/STRONG&gt;&lt;/U&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;P&gt;Dharmendar S&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.linkedin.com/in/dharmendar-s-b5b43463/" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;LinkedIN&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 14:59:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Challenge-with-Month-Year-filtering-order-without-creating-new/m-p/4157262#M165197</guid>
      <dc:creator>dharmendars007</dc:creator>
      <dc:date>2024-09-18T14:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge with Month-Year filtering/order without creating new</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Challenge-with-Month-Year-filtering-order-without-creating-new/m-p/4157292#M165202</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="796215" data-lia-user-login="dharmendars007" class="lia-mention lia-mention-user"&gt;dharmendars007&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THANK you! Yes, i was playing wiht similar... but now it obivous how green i am &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Thank you, its great! I assume i simple ignor message "Relationship between tables migh be needed" ....&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 15:15:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Challenge-with-Month-Year-filtering-order-without-creating-new/m-p/4157292#M165202</guid>
      <dc:creator>al1981</dc:creator>
      <dc:date>2024-09-18T15:15:35Z</dc:date>
    </item>
  </channel>
</rss>

