<?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: DAX for comparing time series data in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-comparing-time-series-data/m-p/4733202#M181303</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="641031" data-lia-user-login="DoctorYSG" class="lia-mention lia-mention-user"&gt;DoctorYSG&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thank you for the update, we are going to keep this thread open as per your request.&lt;/P&gt;
&lt;P&gt;For any further discussions or questions, please post in this post or create a new post in the Microsoft Fabric Community Forum,&amp;nbsp; we’ll be happy to assist.&lt;/P&gt;
&lt;P&gt;Thank you for being part of the Microsoft Fabric Community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 16 Jun 2025 08:55:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2025-06-16T08:55:32Z</dc:date>
    <item>
      <title>DAX for comparing time series data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-comparing-time-series-data/m-p/4709458#M180361</link>
      <description>&lt;P&gt;I have seen some DAX for doing Pearson's Correlation, but it is not really designed for comparing two time series.&lt;BR /&gt;&lt;BR /&gt;What would you suggest for two columns (same table) with values that look highly correlated (I want a single metric as output).&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;</description>
      <pubDate>Tue, 27 May 2025 20:00:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-comparing-time-series-data/m-p/4709458#M180361</guid>
      <dc:creator>DoctorYSG</dc:creator>
      <dc:date>2025-05-27T20:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for comparing time series data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-comparing-time-series-data/m-p/4709626#M180369</link>
      <description>&lt;P&gt;hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="641031" data-lia-user-login="DoctorYSG" class="lia-mention lia-mention-user"&gt;DoctorYSG&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;how about percent of normalized value?&lt;/P&gt;
&lt;P&gt;something like percent of Token Wait to Outlook Wait or to total value (Outlook Wait + Token Wait).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2025 23:52:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-comparing-time-series-data/m-p/4709626#M180369</guid>
      <dc:creator>Irwan</dc:creator>
      <dc:date>2025-05-27T23:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for comparing time series data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-comparing-time-series-data/m-p/4709631#M180370</link>
      <description>&lt;P&gt;Averages are not good. One needs to see if one curve tracks the peaks and valleys of the other in a scale free manner.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2025 23:59:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-comparing-time-series-data/m-p/4709631#M180370</guid>
      <dc:creator>DoctorYSG</dc:creator>
      <dc:date>2025-05-27T23:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for comparing time series data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-comparing-time-series-data/m-p/4712503#M180480</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="641031" data-lia-user-login="DoctorYSG" class="lia-mention lia-mention-user"&gt;DoctorYSG&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Thanks for reaching out to the Microsoft fabric community forum.&lt;BR /&gt;&lt;BR /&gt;I came across a few correlation metrics that I believe are well suited for your needs.&lt;BR /&gt;Please try out Cosine similarity and spearman correlation, and let us know if they help in checking correlation of your data.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a&amp;nbsp;KUDOS.&amp;nbsp;Feel free to reach out if you need further assistance.&lt;BR /&gt;Thank you&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 14:09:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-comparing-time-series-data/m-p/4712503#M180480</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-05-29T14:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for comparing time series data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-comparing-time-series-data/m-p/4712900#M180500</link>
      <description>&lt;P&gt;thank you Madadi,&lt;BR /&gt;&lt;BR /&gt;I searched in the DAX documentation for Spearmen correlation, but I don't see any function for it.&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/dax/dax-function-reference" target="_blank" rel="noopener"&gt;DAX function reference - DAX | Microsoft Learn&lt;/A&gt;&amp;nbsp;nor a special Cosine correlation. There are some articles in the user forums. I did see CoPilot suggest the below code, but I don't think that is really the correct mathematical way to tackle this. (we don't have sine waves here).&lt;BR /&gt;&lt;BR /&gt;what would be best is a cross-correlation function, but that is a good deal of coding to ge there, and DAX is not really well setup for this:&lt;BR /&gt;&lt;A href="https://en.wikipedia.org/wiki/Cross-correlation" target="_blank" rel="noopener"&gt;Cross-correlation - Wikipedia&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;```&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;cosine correlation&lt;/STRONG&gt; (or cosine similarity) is a measure used to determine the similarity between two vectors in a multi-dimensional space. It is widely used in fields like machine learning, natural language processing, and recommendation systems. The formula for cosine similarity is:&lt;/P&gt;&lt;P&gt;$$\text{Cosine Similarity} = \frac{\mathbf{A} \cdot \mathbf{B}}{|\mathbf{A}| |\mathbf{B}|}$$&lt;/P&gt;&lt;P&gt;Where:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;$$\mathbf{A} \cdot \mathbf{B}$$ is the dot product of vectors $$\mathbf{A}$$ and $$\mathbf{B}$$.&lt;/LI&gt;&lt;LI&gt;$$|\mathbf{A}|$$ and $$|\mathbf{B}|$$ are the magnitudes (Euclidean norms) of the vectors.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;In &lt;STRONG&gt;DAX (Data Analysis Expressions)&lt;/STRONG&gt;, commonly used in Power BI or Excel, you can calculate cosine similarity between two vectors (e.g., columns of data) by following these steps:&lt;/P&gt;&lt;H3&gt;Example DAX Calculation&lt;/H3&gt;&lt;P&gt;Assume you have two columns, ColumnA and ColumnB, in a table called DataTable.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Dot Product&lt;/STRONG&gt;:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;Copy the code&lt;/SPAN&gt;DotProduct = SUMX(DataTable, DataTable[ColumnA] * DataTable[ColumnB])&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Magnitude of Each Vector&lt;/STRONG&gt;:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;Copy the code&lt;/SPAN&gt;MagnitudeA = SQRT(SUMX(DataTable, DataTable[ColumnA] * DataTable[ColumnA]))
MagnitudeB = SQRT(SUMX(DataTable, DataTable[ColumnB] * DataTable[ColumnB]))&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Cosine Similarity&lt;/STRONG&gt;:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;Copy the code&lt;/SPAN&gt;CosineSimilarity = DIVIDE([DotProduct], [MagnitudeA] * [MagnitudeB], 0)&lt;/PRE&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;H3&gt;Notes:&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;The DIVIDE function ensures safe division, avoiding errors if the denominator is zero.&lt;/LI&gt;&lt;LI&gt;This approach assumes the vectors are represented as rows in the table.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If you need further clarification or help implementing this, feel free to ask! &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;BR /&gt;```&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 18:01:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-comparing-time-series-data/m-p/4712900#M180500</guid>
      <dc:creator>DoctorYSG</dc:creator>
      <dc:date>2025-05-29T18:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for comparing time series data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-comparing-time-series-data/m-p/4718339#M180711</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="641031" data-lia-user-login="DoctorYSG" class="lia-mention lia-mention-user"&gt;DoctorYSG&lt;/a&gt;&amp;nbsp; , &lt;BR /&gt;Thanks for reaching out to the Microsoft fabric community forum.&lt;BR /&gt;&lt;BR /&gt;If DAX doesn't meet your data transformation needs, consider using a Fabric Notebook with PySpark. Notebooks offer an environment where you can process, filter, and reshape data before visualizing it in Power BI. This is useful when you're working with logic or operations that are difficult to implement in DAX.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If this post&amp;nbsp;helps, then please consider&amp;nbsp;Accepting as solution&amp;nbsp;to help the other members find it more quickly and consider giving a&amp;nbsp;KUDOS.&amp;nbsp;Feel free to reach out if you need further assistance.&lt;BR /&gt;Thank you&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 12:17:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-comparing-time-series-data/m-p/4718339#M180711</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-06-03T12:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for comparing time series data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-comparing-time-series-data/m-p/4720015#M180763</link>
      <description>&lt;P&gt;It cannot be an aggregate over time. In narritive form the question is: At the point in time (approximately) when there is a Outlook wait event, what is the related token wait (on it's timeline). That is we are doing sliding windows on both timelines and comparing.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 15:13:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-comparing-time-series-data/m-p/4720015#M180763</guid>
      <dc:creator>DoctorYSG</dc:creator>
      <dc:date>2025-06-04T15:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for comparing time series data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-comparing-time-series-data/m-p/4723277#M180916</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="641031" data-lia-user-login="DoctorYSG" class="lia-mention lia-mention-user"&gt;DoctorYSG&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thank you for providing additional context to your scenario, but as you have mentioned there's a significant amount of coding with DAX, and it is not ideally set up for this scenario.&lt;BR /&gt;&lt;BR /&gt;So as an alternative please try to utilize Python/R visual in Power BI and try to create visualization using advanced statistics&amp;nbsp;&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-python-visuals" target="_blank"&gt;Create Power BI visuals using Python in Power BI Desktop - Power BI | Microsoft Learn&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jun 2025 14:18:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-comparing-time-series-data/m-p/4723277#M180916</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-06-06T14:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for comparing time series data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-comparing-time-series-data/m-p/4725739#M181019</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="641031" data-lia-user-login="DoctorYSG" class="lia-mention lia-mention-user"&gt;DoctorYSG&lt;/a&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2025 12:26:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-comparing-time-series-data/m-p/4725739#M181019</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-06-09T12:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for comparing time series data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-comparing-time-series-data/m-p/4725909#M181030</link>
      <description>&lt;P&gt;Right now, I am in the GovCloud version of PowerBI (FedRamp aproval of Fabric is still in the process). But I tend to agree with you. What I am probably looking for is rolling correlations, or cross correlations which is available in Pandas for Python. I am going to leave this open so that others who have tried to do rolling correlations in DAX can reply (and there are some use cases where delaying the processing till DAX makes sense).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2025 14:29:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-comparing-time-series-data/m-p/4725909#M181030</guid>
      <dc:creator>DoctorYSG</dc:creator>
      <dc:date>2025-06-09T14:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for comparing time series data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-comparing-time-series-data/m-p/4729426#M181167</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="641031" data-lia-user-login="DoctorYSG" class="lia-mention lia-mention-user"&gt;DoctorYSG&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;Accepting the helpful reply as solution may help some community members in the future who may come across this post.&lt;BR /&gt;You could always reopen this thread or create a new one later.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 05:06:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-comparing-time-series-data/m-p/4729426#M181167</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-06-12T05:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for comparing time series data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-comparing-time-series-data/m-p/4730437#M181207</link>
      <description>&lt;P&gt;I will post my&amp;nbsp; rolling correlations coeficients when it is done.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 14:43:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-comparing-time-series-data/m-p/4730437#M181207</guid>
      <dc:creator>DoctorYSG</dc:creator>
      <dc:date>2025-06-12T14:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for comparing time series data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-comparing-time-series-data/m-p/4733202#M181303</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="641031" data-lia-user-login="DoctorYSG" class="lia-mention lia-mention-user"&gt;DoctorYSG&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thank you for the update, we are going to keep this thread open as per your request.&lt;/P&gt;
&lt;P&gt;For any further discussions or questions, please post in this post or create a new post in the Microsoft Fabric Community Forum,&amp;nbsp; we’ll be happy to assist.&lt;/P&gt;
&lt;P&gt;Thank you for being part of the Microsoft Fabric Community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2025 08:55:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-comparing-time-series-data/m-p/4733202#M181303</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-06-16T08:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for comparing time series data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-comparing-time-series-data/m-p/4734996#M181363</link>
      <description>&lt;P&gt;Here is my rolling Pearsons Correlation Coefficient solution:&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;LI-CODE lang="javascript"&gt;CorrTable = 
	ADDCOLUMNS(
		SUMMARIZE(
			'Traces',
		    'Traces'[CorrID],
			'Traces'[DateStamp]
		),
		"OutlookLatency", CALCULATE(
			AVERAGE('Traces'[ResponseTime]),
			'Traces'[AppName] = "Microsoft Outlook"
		),
		"TokenLatency", CALCULATE(
			AVERAGE('Traces'[ResponseTime]),
			'Traces'[AppName] = "AAD Token Broker Plugin"
		),
		"CredentialLatency", CALCULATE(
			AVERAGE('Traces'[ResponseTime]),
			'Traces'[AppName] = "Credential Manager UI Host (Windows)"
		),
		"EntraLatency", CALCULATE(
			AVERAGE('Traces'[ResponseTime]),
			'Traces'[AppName] = "Microsoft Entra"
		)
	)

TokenCorr = 
	VAR cTable =
	FILTER(
		ADDCOLUMNS(
			VALUES('CorrTable'[CorrID]),
			"X", CALCULATE(AVERAGE('CorrTable'[OutlookLatency])),
			"Y", CALCULATE(AVERAGE('CorrTable'[TokenLatency]))
		),
		AND(
			NOT (ISBLANK([X])),
			NOT (ISBLANK([Y]))
		)
	)
	VAR Count_Items = COUNTROWS(cTable)
	VAR Sum_X = SUMX(cTable,[X])
	VAR Sum_X2 = SUMX(cTable,[X] ^ 2)
	VAR Sum_Y = SUMX(cTable,[Y])
	VAR Sum_Y2 =SUMX(cTable,[Y] ^ 2)
	VAR Sum_XY =SUMX(cTable,[X] * [Y])
	VAR Pearson_Numerator = Count_Items * Sum_XY - Sum_X * Sum_Y
	VAR Pearson_Denominator_X = Count_Items * Sum_X2 - Sum_X ^ 2
	VAR Pearson_Denominator_Y = Count_Items * Sum_Y2 - Sum_Y ^ 2
	VAR Pearson_Denominator = SQRT(Pearson_Denominator_X * Pearson_Denominator_Y)
	VAR TokenCorr =
	DIVIDE(
		Pearson_Numerator,
		Pearson_Denominator
	)
 RETURN TokenCorr&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2025 16:29:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-comparing-time-series-data/m-p/4734996#M181363</guid>
      <dc:creator>DoctorYSG</dc:creator>
      <dc:date>2025-06-17T16:29:50Z</dc:date>
    </item>
  </channel>
</rss>

