<?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: Merging summary tables in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merging-summary-tables/m-p/4043552#M160373</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="775785" data-lia-user-login="Shwetabh147" class="lia-mention lia-mention-user"&gt;Shwetabh147&lt;/a&gt;&amp;nbsp;, For this first you can create a measure for total sales&lt;/P&gt;
&lt;P&gt;Total Sales = SUM(SalesTable[SalesAmount])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then, Create a measure for rank&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Store Sales Rank = &lt;BR /&gt;RANKX(&lt;BR /&gt;ALL(CustomerDimension[CustomerKey]),&lt;BR /&gt;[Total Sales],&lt;BR /&gt;,&lt;BR /&gt;DESC,&lt;BR /&gt;DENSE&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Create a custom column in Customer Dim table&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Store Segment = &lt;BR /&gt;SWITCH(&lt;BR /&gt;TRUE(),&lt;BR /&gt;[Store Sales Rank] &amp;lt;= 25, "Segment 1",&lt;BR /&gt;[Store Sales Rank] &amp;lt;= 50, "Segment 2",&lt;BR /&gt;[Store Sales Rank] &amp;lt;= 75, "Segment 3",&lt;BR /&gt;"Segment 4"&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then you can create visuals using these measure and columns,I have taken general scenarios as you have not given sample data&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jul 2024 05:58:01 GMT</pubDate>
    <dc:creator>bhanu_gautam</dc:creator>
    <dc:date>2024-07-16T05:58:01Z</dc:date>
    <item>
      <title>Merging summary tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merging-summary-tables/m-p/4043437#M160367</link>
      <description>&lt;P&gt;Hello everyone.&lt;/P&gt;&lt;P&gt;i have a customer dimension with store level data.&lt;/P&gt;&lt;P&gt;a product table with product information.&amp;nbsp;&lt;BR /&gt;sales table which has sales at product and customer key level.&lt;/P&gt;&lt;P&gt;now my customer table is connected to product via sales table.&lt;/P&gt;&lt;P&gt;customer key from cust dimension is connected to sales product is connected to sales through gtin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now. We have to segment the stores in 4 segments based on rank of sales.&lt;/P&gt;&lt;P&gt;and at the same time when a user filters a segment , then sales should change at all the attributes for product . Like we have a table in report which shows cat wise sales.&amp;nbsp;&lt;BR /&gt;so if user clicks on 1 st segment then the data should filter accordingly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for looking into problem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2024 03:51:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merging-summary-tables/m-p/4043437#M160367</guid>
      <dc:creator>Shwetabh147</dc:creator>
      <dc:date>2024-07-16T03:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: Merging summary tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merging-summary-tables/m-p/4043552#M160373</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="775785" data-lia-user-login="Shwetabh147" class="lia-mention lia-mention-user"&gt;Shwetabh147&lt;/a&gt;&amp;nbsp;, For this first you can create a measure for total sales&lt;/P&gt;
&lt;P&gt;Total Sales = SUM(SalesTable[SalesAmount])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then, Create a measure for rank&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Store Sales Rank = &lt;BR /&gt;RANKX(&lt;BR /&gt;ALL(CustomerDimension[CustomerKey]),&lt;BR /&gt;[Total Sales],&lt;BR /&gt;,&lt;BR /&gt;DESC,&lt;BR /&gt;DENSE&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Create a custom column in Customer Dim table&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Store Segment = &lt;BR /&gt;SWITCH(&lt;BR /&gt;TRUE(),&lt;BR /&gt;[Store Sales Rank] &amp;lt;= 25, "Segment 1",&lt;BR /&gt;[Store Sales Rank] &amp;lt;= 50, "Segment 2",&lt;BR /&gt;[Store Sales Rank] &amp;lt;= 75, "Segment 3",&lt;BR /&gt;"Segment 4"&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then you can create visuals using these measure and columns,I have taken general scenarios as you have not given sample data&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2024 05:58:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merging-summary-tables/m-p/4043552#M160373</guid>
      <dc:creator>bhanu_gautam</dc:creator>
      <dc:date>2024-07-16T05:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: Merging summary tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merging-summary-tables/m-p/4043861#M160389</link>
      <description>&lt;P&gt;I have the segments added . Problem is . There is a table where we need to showcase category level sales . Now category is in product dimension. Ask is when user selects segment, the categories should also filter for that segment.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2024 08:18:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merging-summary-tables/m-p/4043861#M160389</guid>
      <dc:creator>Shwetabh147</dc:creator>
      <dc:date>2024-07-16T08:18:05Z</dc:date>
    </item>
  </channel>
</rss>

