<?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: Results all stores in a region in a table based on selection of a specific store in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Results-all-stores-in-a-region-in-a-table-based-on-selection-of/m-p/1046813#M14143</link>
    <description>&lt;LI-CODE lang="markup"&gt;// Stores is a dimension with Region
// in it and stores are identified 
// by StoreID. Please do not attempt
// this if you only have one big
// table in your model without a proper
// dimensional design.

[Regional Sales] =
	CALCULATE(
		[Total Sales],
		VALUES( Stores[Region] ),
		ALL( Stores )
	)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best&lt;/P&gt;
&lt;P&gt;D&lt;/P&gt;</description>
    <pubDate>Fri, 24 Apr 2020 11:45:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-04-24T11:45:57Z</dc:date>
    <item>
      <title>Results all stores in a region in a table based on selection of a specific store</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Results-all-stores-in-a-region-in-a-table-based-on-selection-of/m-p/1046746#M14138</link>
      <description>&lt;P&gt;In my dataset, all stores belong to a region. Now I would like a table with all sales results from stores that are in the same region as the store I selected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do not select a region, but a specific store. Anyone knows if this is possible?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for your reply&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2020 11:06:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Results-all-stores-in-a-region-in-a-table-based-on-selection-of/m-p/1046746#M14138</guid>
      <dc:creator>OlafPrevo</dc:creator>
      <dc:date>2020-04-24T11:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: Results all stores in a region in a table based on selection of a specific store</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Results-all-stores-in-a-region-in-a-table-based-on-selection-of/m-p/1046813#M14143</link>
      <description>&lt;LI-CODE lang="markup"&gt;// Stores is a dimension with Region
// in it and stores are identified 
// by StoreID. Please do not attempt
// this if you only have one big
// table in your model without a proper
// dimensional design.

[Regional Sales] =
	CALCULATE(
		[Total Sales],
		VALUES( Stores[Region] ),
		ALL( Stores )
	)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best&lt;/P&gt;
&lt;P&gt;D&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2020 11:45:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Results-all-stores-in-a-region-in-a-table-based-on-selection-of/m-p/1046813#M14143</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-24T11:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: Results all stores in a region in a table based on selection of a specific store</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Results-all-stores-in-a-region-in-a-table-based-on-selection-of/m-p/1046873#M14150</link>
      <description>&lt;P&gt;First Thanks for your quick respons. I Forgot to mention that I Would like to se the sales results for eacht individual store, but only for the stores that are in the same region as the selected store. This solutions doesn't work in this case.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2020 12:09:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Results-all-stores-in-a-region-in-a-table-based-on-selection-of/m-p/1046873#M14150</guid>
      <dc:creator>OlafPrevo</dc:creator>
      <dc:date>2020-04-24T12:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Results all stores in a region in a table based on selection of a specific store</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Results-all-stores-in-a-region-in-a-table-based-on-selection-of/m-p/1046915#M14153</link>
      <description>&lt;P&gt;I'm trying to create a same table as I have in Qlikview. In Qlikview the code for the variable is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SUM( 
	{$&amp;lt;
		DateTime.AccountingYear		= {$(vYear)},
		DateTime.AccountingWeek		= {$(vWeek)},
		StoreGroup.RayonName		= P(StoreGroup.RayonName),
		Store.Number			= ,
		Store.Name			= 
	&amp;gt;} 
	SalesItem.SalesAmountIncl
	)
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2020 12:23:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Results-all-stores-in-a-region-in-a-table-based-on-selection-of/m-p/1046915#M14153</guid>
      <dc:creator>OlafPrevo</dc:creator>
      <dc:date>2020-04-24T12:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Results all stores in a region in a table based on selection of a specific store</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Results-all-stores-in-a-region-in-a-table-based-on-selection-of/m-p/1046935#M14155</link>
      <description>&lt;P&gt;This should do it:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;// Stores is a dimension with Region
// in it and stores are identified 
// by StoreID. Please do not attempt
// this if you only have one big
// table in your model without a proper
// dimensional design.

[Regional Sales] =
var __oneRegionVisible =
	DISTINCTCOUNT( Stores[Region] ) = 1
var __result =
	CALCULATE(
		[Total Sales],
		FILTER(
			VALUES( Stores[Region] ),
			__oneRegionVisible
		),
		ALL( Stores )
	)
RETURN
	__result&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best&lt;/P&gt;
&lt;P&gt;D&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2020 12:30:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Results-all-stores-in-a-region-in-a-table-based-on-selection-of/m-p/1046935#M14155</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-24T12:30:40Z</dc:date>
    </item>
  </channel>
</rss>

