<?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: Prevent spliting when using LYTD (pbix attached) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Prevent-spliting-when-using-LYTD-pbix-attached/m-p/2094126#M47713</link>
    <description>&lt;P&gt;Thanks for your answer &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="202311" data-lia-user-login="BeaBF" class="lia-mention lia-mention-user"&gt;BeaBF&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My expected output is:&lt;/P&gt;&lt;P&gt;(when 2021 is selected):&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When 2020 is selected... it should work as it is already working:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Sep 2021 11:15:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-09-23T11:15:41Z</dc:date>
    <item>
      <title>Prevent spliting when using LYTD (pbix attached)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Prevent-spliting-when-using-LYTD-pbix-attached/m-p/2093446#M47691</link>
      <description>&lt;P&gt;I have this pbix :&amp;nbsp;&lt;A href="https://drive.google.com/file/d/1tpGKvL_ST1L7YgDkDFqqLqfKb0FEjfcL/view?usp=sharing" target="_blank" rel="nofollow noopener noreferrer"&gt;https://drive.google.com/file/d/1tpGKvL_ST1L7YgDkDFqqLqfKb0FEjfcL/view?usp=sharing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a single selection filter on Year, and when I select 2021:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My goal is&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;U&gt;to never split a given Customer&lt;/U&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;on Type, so, when I show the totals, I want to see:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Net Revenue LYTD as 54 but&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;U&gt;in Locale, not in Inter&lt;/U&gt;&lt;/STRONG&gt;:&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;&lt;P&gt;I cannot harcode it... Many clients can belong to the same type.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also a client changing 'type'&amp;nbsp;can happen with more than one client in the future (or different type names). The only good thing is: if they switch, they do it on 01-Jan.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 07:37:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Prevent-spliting-when-using-LYTD-pbix-attached/m-p/2093446#M47691</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-23T07:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent spliting when using LYTD (pbix attached)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Prevent-spliting-when-using-LYTD-pbix-attached/m-p/2094106#M47712</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;If you want to see all the totals only on the "Local" type, why do you put the other types in key?&lt;/P&gt;&lt;P&gt;The purpose of your request is not clear to me.&lt;/P&gt;&lt;P&gt;Could you show the expected result and what you fail to do?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;B.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 11:09:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Prevent-spliting-when-using-LYTD-pbix-attached/m-p/2094106#M47712</guid>
      <dc:creator>BeaBF</dc:creator>
      <dc:date>2021-09-23T11:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent spliting when using LYTD (pbix attached)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Prevent-spliting-when-using-LYTD-pbix-attached/m-p/2094126#M47713</link>
      <description>&lt;P&gt;Thanks for your answer &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="202311" data-lia-user-login="BeaBF" class="lia-mention lia-mention-user"&gt;BeaBF&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My expected output is:&lt;/P&gt;&lt;P&gt;(when 2021 is selected):&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When 2020 is selected... it should work as it is already working:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 11:15:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Prevent-spliting-when-using-LYTD-pbix-attached/m-p/2094126#M47713</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-23T11:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent spliting when using LYTD (pbix attached)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Prevent-spliting-when-using-LYTD-pbix-attached/m-p/2094181#M47716</link>
      <description>&lt;P&gt;This measure gets your example result.&lt;/P&gt;&lt;P&gt;It first builds a table of Revenue LYTD for each inscope customer ignoring Type, then aggregates for the final result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Net Revenue LYTD = 
VAR _CustomerLYTD = 
ADDCOLUMNS(
    VALUES(Revenue[Customer]),
    "@LYTD", CALCULATE([Net Revenue YTD], SAMEPERIODLASTYEAR('Date'[Date]), REMOVEFILTERS('Type') )
)
VAR _Result = SUMX(_CustomerLYTD, [@LYTD])
RETURN
    _Result&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 11:51:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Prevent-spliting-when-using-LYTD-pbix-attached/m-p/2094181#M47716</guid>
      <dc:creator>PaulOlding</dc:creator>
      <dc:date>2021-09-23T11:51:47Z</dc:date>
    </item>
  </channel>
</rss>

