<?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: Dynamic OVER(PARTITION BY) DAX Equivalent in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-OVER-PARTITION-BY-DAX-Equivalent/m-p/1286870#M22046</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Hope the last two are calculated Columns?&lt;BR /&gt;What is formula for Visit Bucket?&lt;BR /&gt;&lt;BR /&gt;You try a measure instead.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;________________________&lt;/P&gt;&lt;P&gt;Did I answer your question? Mark this post as a solution, this will help others!.&lt;/P&gt;&lt;P&gt;Click on the Thumbs-Up icon on the right if you like this reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&lt;A href="https://www.youtube.com/channel/UCKwBEguA8IlBubIobaOormg?sub_confirmation=1" target="_blank"&gt;YouTube, &lt;/A&gt;&lt;A href="https://linkedin.com/in/fowmy" target="_blank"&gt;LinkedIn&lt;/A&gt;&lt;/I&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Aug 2020 08:48:36 GMT</pubDate>
    <dc:creator>Fowmy</dc:creator>
    <dc:date>2020-08-11T08:48:36Z</dc:date>
    <item>
      <title>Dynamic OVER(PARTITION BY) DAX Equivalent</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-OVER-PARTITION-BY-DAX-Equivalent/m-p/1286787#M22041</link>
      <description>&lt;P&gt;I have a table where I need to derive the number of visits per customer, depending on report level context.&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;Number of Total Visits = CALCULATE(SUM([Visits Number]), ALLEXCEPT([Customer_id], [Brand], [Channel]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see this gives the correct figure for each distinct brand/channel and puts the customer into the 1-2 visit bucket. However, if on the report I select a slicer for all brands (Orange, Blue and Green), the customer will still fall into the 1-2 visit bucket as the calculated column doesn't update. Instead, they should fall into the next bucket as they have 3 visits across all brands.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If number of visits is instead calculated as:&amp;nbsp;CALCULATE(SUM([Visits Number]), ALLEXCEPT([Customer_id]))&lt;/P&gt;&lt;P&gt;This then works when looking at all brands and channels but if only one brand or channel is selected the opposite problem then occurs to the scenario above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone provide a solution? Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 08:32:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-OVER-PARTITION-BY-DAX-Equivalent/m-p/1286787#M22041</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-11T08:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic OVER(PARTITION BY) DAX Equivalent</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-OVER-PARTITION-BY-DAX-Equivalent/m-p/1286870#M22046</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Hope the last two are calculated Columns?&lt;BR /&gt;What is formula for Visit Bucket?&lt;BR /&gt;&lt;BR /&gt;You try a measure instead.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;________________________&lt;/P&gt;&lt;P&gt;Did I answer your question? Mark this post as a solution, this will help others!.&lt;/P&gt;&lt;P&gt;Click on the Thumbs-Up icon on the right if you like this reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&lt;A href="https://www.youtube.com/channel/UCKwBEguA8IlBubIobaOormg?sub_confirmation=1" target="_blank"&gt;YouTube, &lt;/A&gt;&lt;A href="https://linkedin.com/in/fowmy" target="_blank"&gt;LinkedIn&lt;/A&gt;&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 08:48:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-OVER-PARTITION-BY-DAX-Equivalent/m-p/1286870#M22046</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2020-08-11T08:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic OVER(PARTITION BY) DAX Equivalent</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-OVER-PARTITION-BY-DAX-Equivalent/m-p/1286894#M22049</link>
      <description>&lt;P&gt;Yes, the last two are calculated columns.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Visit Bucket = &lt;/SPAN&gt;&lt;FONT&gt;SWITCH(TRUE(), [Number of Total Visits]&amp;lt;=2, "1-2", &lt;FONT&gt;[Number of Total Visits]&lt;/FONT&gt;&amp;gt;2&amp;amp;&amp;amp;&lt;FONT&gt;[Number of Total Visits]&lt;/FONT&gt;&amp;lt;=4, "3-4", &lt;FONT&gt;[Number of Total Visits]&lt;/FONT&gt;&amp;gt;4, "5+")&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;How would you write this into a measure and derive figures for all three buckets, or would it be three seperate measures?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="52518" data-lia-user-login="Fowmy" class="lia-mention lia-mention-user"&gt;Fowmy&lt;/a&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 08:57:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-OVER-PARTITION-BY-DAX-Equivalent/m-p/1286894#M22049</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-11T08:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic OVER(PARTITION BY) DAX Equivalent</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-OVER-PARTITION-BY-DAX-Equivalent/m-p/1286938#M22052</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt; , I think you have work like that. &lt;/P&gt;
&lt;P&gt;see if segmentation can help&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;A href="https://www.daxpatterns.com/dynamic-segmentation/" target="_blank"&gt;https://www.daxpatterns.com/dynamic-segmentation/&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.daxpatterns.com/static-segmentation/" target="_blank"&gt;https://www.daxpatterns.com/static-segmentation/&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.poweredsolutions.co/2020/01/11/dax-vs-power-query-static-segmentation-in-power-bi-dax-power-query/" target="_blank"&gt;https://www.poweredsolutions.co/2020/01/11/dax-vs-power-query-static-segmentation-in-power-bi-dax-power-query/&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://radacad.com/grouping-and-binning-step-towards-better-data-visualization" target="_blank"&gt;https://radacad.com/grouping-and-binning-step-towards-better-data-visualization&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 09:10:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-OVER-PARTITION-BY-DAX-Equivalent/m-p/1286938#M22052</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-08-11T09:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic OVER(PARTITION BY) DAX Equivalent</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-OVER-PARTITION-BY-DAX-Equivalent/m-p/1286959#M22054</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Try this measure:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Visit Bucket = 
VAR VISITS = COUNT(DATA1[VISIT NUMBER])

RETURN

SWITCH(
    TRUE(),
    VISITS &amp;lt;=2, "1-2", VISITS &amp;gt;2&amp;amp;&amp;amp;VISITS &amp;lt;=4, "3-4", VISITS &amp;gt;4, "5+"
)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;________________________&lt;/P&gt;&lt;P&gt;Did I answer your question? Mark this post as a solution, this will help others!.&lt;/P&gt;&lt;P&gt;Click on the Thumbs-Up icon on the right if you like this reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&lt;A href="https://www.youtube.com/channel/UCKwBEguA8IlBubIobaOormg?sub_confirmation=1" target="_blank"&gt;YouTube, &lt;/A&gt;&lt;A href="https://linkedin.com/in/fowmy" target="_blank"&gt;LinkedIn&lt;/A&gt;&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 09:16:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-OVER-PARTITION-BY-DAX-Equivalent/m-p/1286959#M22054</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2020-08-11T09:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic OVER(PARTITION BY) DAX Equivalent</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-OVER-PARTITION-BY-DAX-Equivalent/m-p/1287002#M22058</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="52518" data-lia-user-login="Fowmy" class="lia-mention lia-mention-user"&gt;Fowmy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This seems to give a single bucket for the entire table. I need provide a distinctcount of customer_id within each bucket that changes depending on report level context.&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="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;Thanks, i will take a look.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 09:31:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-OVER-PARTITION-BY-DAX-Equivalent/m-p/1287002#M22058</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-11T09:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic OVER(PARTITION BY) DAX Equivalent</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-OVER-PARTITION-BY-DAX-Equivalent/m-p/1287071#M22061</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am not sure on what context you are applying this measure, if you can share your report screenshot or attach a sample PBIX then It will make things clear.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;________________________&lt;/P&gt;&lt;P&gt;Did I answer your question? Mark this post as a solution, this will help others!.&lt;/P&gt;&lt;P&gt;Click on the Thumbs-Up icon on the right if you like this reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&lt;A href="https://www.youtube.com/channel/UCKwBEguA8IlBubIobaOormg?sub_confirmation=1" target="_blank"&gt;YouTube, &lt;/A&gt;&lt;A href="https://linkedin.com/in/fowmy" target="_blank"&gt;LinkedIn&lt;/A&gt;&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 09:57:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-OVER-PARTITION-BY-DAX-Equivalent/m-p/1287071#M22061</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2020-08-11T09:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic OVER(PARTITION BY) DAX Equivalent</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-OVER-PARTITION-BY-DAX-Equivalent/m-p/1287081#M22062</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="52518" data-lia-user-login="Fowmy" class="lia-mention lia-mention-user"&gt;Fowmy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is within a table.&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;1-2 Visits&lt;/TD&gt;&lt;TD&gt;3-4 Visits&lt;/TD&gt;&lt;TD&gt;5+ Visits&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;DistinctCount of Customer_ID&lt;/TD&gt;&lt;TD&gt;&lt;SPAN&gt;DistinctCount of Customer_ID&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN&gt;DistinctCount of Customer_ID&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Slicers: Brand, Channel, Date&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cannot share the file as it is against company policy to reveal any data, unfortunately. Hopefuly the above makes sense in relation to the original post. There are around 300,000 unique customer IDs in the table.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 10:02:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-OVER-PARTITION-BY-DAX-Equivalent/m-p/1287081#M22062</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-11T10:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic OVER(PARTITION BY) DAX Equivalent</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-OVER-PARTITION-BY-DAX-Equivalent/m-p/1287180#M22065</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Create a disconnected table for the buckets&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;Create the following measure:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Visit Bucket = 
    VAR MINBKT = SELECTEDVALUE('Visit Bucket'[Min])
    VAR MAXBKT = SELECTEDVALUE('Visit Bucket'[Max])
    VAR VISIT = COUNT(DATA1[VISIT NUMBER])
RETURN
    IF( VISIT &amp;gt;= MINBKT &amp;amp;&amp;amp;  VISIT &amp;lt;= MAXBKT , VISIT, BLANK() ) 


&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;The results:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;________________________&lt;/P&gt;&lt;P&gt;Did I answer your question? Mark this post as a solution, this will help others!.&lt;/P&gt;&lt;P&gt;Click on the Thumbs-Up icon on the right if you like this reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&lt;A href="https://www.youtube.com/channel/UCKwBEguA8IlBubIobaOormg?sub_confirmation=1" target="_blank"&gt;YouTube, &lt;/A&gt;&lt;A href="https://linkedin.com/in/fowmy" target="_blank"&gt;LinkedIn&lt;/A&gt;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 10:40:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-OVER-PARTITION-BY-DAX-Equivalent/m-p/1287180#M22065</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2020-08-11T10:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic OVER(PARTITION BY) DAX Equivalent</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-OVER-PARTITION-BY-DAX-Equivalent/m-p/1287333#M22071</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="52518" data-lia-user-login="Fowmy" class="lia-mention lia-mention-user"&gt;Fowmy&lt;/a&gt;&amp;nbsp; This works perfectly when a single customer id is selected but when all are selected it displays blank, rather than a count within each bucket&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 11:53:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-OVER-PARTITION-BY-DAX-Equivalent/m-p/1287333#M22071</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-11T11:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic OVER(PARTITION BY) DAX Equivalent</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-OVER-PARTITION-BY-DAX-Equivalent/m-p/1287519#M22080</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If you could share a set of sample data and the expected output then I will be able to help you out.&lt;BR /&gt;You can save your files in OneDrive, Google Drive, or any other cloud sharing platforms and share the link here.&lt;BR /&gt;____________________________________&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;How to paste sample data with your question?&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;How to get your questions answered quickly?&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;_____________________________________&lt;BR /&gt;Did I answer your question? Mark this post as a solution, this will help others!.&lt;/P&gt;&lt;P&gt;Click on the Thumbs-Up icon on the right if you like this reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&lt;A href="https://www.youtube.com/channel/UCKwBEguA8IlBubIobaOormg?sub_confirmation=1" target="_blank"&gt;YouTube, &lt;/A&gt;&lt;A href="https://linkedin.com/in/fowmy" target="_blank"&gt;LinkedIn&lt;/A&gt;&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 13:00:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-OVER-PARTITION-BY-DAX-Equivalent/m-p/1287519#M22080</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2020-08-11T13:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic OVER(PARTITION BY) DAX Equivalent</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-OVER-PARTITION-BY-DAX-Equivalent/m-p/1287814#M22091</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="52518" data-lia-user-login="Fowmy" class="lia-mention lia-mention-user"&gt;Fowmy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the one you created, what result do you get if you select all brands, i.e. blue, green &amp;amp; orange; and select all channels.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expected result should be 3 but for me it shows blank?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 14:17:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-OVER-PARTITION-BY-DAX-Equivalent/m-p/1287814#M22091</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-11T14:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic OVER(PARTITION BY) DAX Equivalent</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-OVER-PARTITION-BY-DAX-Equivalent/m-p/1290876#M22171</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;// Total number of visits
[# Visits] = SUM( T[Visits Number] )

// Returns the bucket for the
// total number of visits;
// you might need to adjust the
// limits in the disconnected
// Buckets table (500 might not
// be enough).
[Visit Bucket] =
var __visitCount = [# Visits]
return
	CALCULATE(
		SELECTEDVALUE( Buckets[Bucket] ),
		Buckets[Min] &amp;lt;= __visitCount,
		__visitCount &amp;lt;= Buckets[Max],
		ALL( Buckets )
	)

// For any slicing, it shows you
// the number of customers that fall
// into a selected bucket.
[# Customers in Bucket] =
var __currentBucket =
	SELECTEDVALUE( Buckets[Bucket] )
var __output =
	SUMX(
		VALUES( T[Customer ID] ),
		1 * ( [Visit Bucket] = __currentBucket )
	)
return
	if( __output &amp;gt; 0, __output )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2020 15:23:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-OVER-PARTITION-BY-DAX-Equivalent/m-p/1290876#M22171</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-12T15:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic OVER(PARTITION BY) DAX Equivalent</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-OVER-PARTITION-BY-DAX-Equivalent/m-p/1290913#M22172</link>
      <description>&lt;LI-CODE lang="csharp"&gt;// If you want to be able to sum over
// buckets as well... then you'll need
// this version of the above measure:

[# Customers in Bucket (additive across buckets)] =
SUMX(
	Buckets,
	CALCULATE(
		var __currentBucket =
			SELECTEDVALUE( Buckets[Bucket] )
		var __output =
			SUMX(
				VALUES( T[Customer ID] ),
				1 * ( [Visit Bucket] = __currentBucket )
			)
		return
			if( __output &amp;gt; 0, __output )
	)
)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 12 Aug 2020 15:28:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-OVER-PARTITION-BY-DAX-Equivalent/m-p/1290913#M22172</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-12T15:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic OVER(PARTITION BY) DAX Equivalent</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-OVER-PARTITION-BY-DAX-Equivalent/m-p/1290995#M22180</link>
      <description>&lt;P&gt;Thank you all for the help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anonymous&lt;/a&gt;wins this one, thank you so much!&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2020 15:54:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-OVER-PARTITION-BY-DAX-Equivalent/m-p/1290995#M22180</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-12T15:54:10Z</dc:date>
    </item>
  </channel>
</rss>

