<?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: Correlation between multiple columns in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Correlation-between-multiple-columns/m-p/817225#M5451</link>
    <description>&lt;P&gt;Not possible to put measures on x-axis directly, true, but there is a workaround.&lt;BR /&gt;&lt;BR /&gt;Create a stand alone table, that is a table without any relationships. Say your 16 measures are named measure1, measure2,...,measure16.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The stand alone table, let's call it tabMeasures, should have one column, let's call the column Measures. The values in this column should be text strings. For simplicity you can use the same names as your 16 measures, but it is not strictly necessary:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The values on the rows could/should corresponds to your measures, in&amp;nbsp; your case you should have 16 rows. Add a measure to this table like this&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;xAxisMeasure =
SWITCH (
    TRUE ();
    SELECTEDVALUE ( Table[measureName] ) = "measure1"; [measure1];
    SELECTEDVALUE ( Table[measureName] ) = "measure2"; [measure2];&lt;BR /&gt;    .&lt;BR /&gt;    .&lt;BR /&gt;    .&lt;BR /&gt;    SELECTEDVALUE ( Table[measureName] ) = "measure16"; [measure16];
    BLANK ()
)&lt;/PRE&gt;&lt;P&gt;Now add the column of the new table to the x-axis, and add this measure as the measure&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Oct 2019 12:09:44 GMT</pubDate>
    <dc:creator>sturlaws</dc:creator>
    <dc:date>2019-10-14T12:09:44Z</dc:date>
    <item>
      <title>Correlation between multiple columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Correlation-between-multiple-columns/m-p/813420#M5303</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;So i have a data set of feedback from the customers ,it has different questions as different columns.&lt;/P&gt;&lt;P&gt;I need to find correlation between one question to all the other questions.I have tried R visual but we do not have pro license hence the visual is not visible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please guys i have this as an urgent requirement .Please help me out.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2019 08:31:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Correlation-between-multiple-columns/m-p/813420#M5303</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-09T08:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation between multiple columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Correlation-between-multiple-columns/m-p/816415#M5415</link>
      <description>&lt;P&gt;Have a look at this:&lt;BR /&gt;&lt;A href="https://xxlbi.com/blog/pearson-correlation-coefficient-in-dax/" target="_self"&gt;https://xxlbi.com/blog/pearson-correlation-coefficient-in-dax/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Oct 2019 22:46:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Correlation-between-multiple-columns/m-p/816415#M5415</guid>
      <dc:creator>sturlaws</dc:creator>
      <dc:date>2019-10-12T22:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation between multiple columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Correlation-between-multiple-columns/m-p/817093#M5446</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="88633" data-lia-user-login="sturlaws" class="lia-mention lia-mention-user"&gt;sturlaws&lt;/a&gt;&amp;nbsp; Thanks for your help.&lt;BR /&gt;Now i am stuck in the visualisation part of it , i have 16 measures for different correlation with 16 different questions.&lt;BR /&gt;I just wanna show a simple bar chart&amp;nbsp; but i guess its not possible to make measure as X-Axis name.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 09:34:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Correlation-between-multiple-columns/m-p/817093#M5446</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-14T09:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation between multiple columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Correlation-between-multiple-columns/m-p/817225#M5451</link>
      <description>&lt;P&gt;Not possible to put measures on x-axis directly, true, but there is a workaround.&lt;BR /&gt;&lt;BR /&gt;Create a stand alone table, that is a table without any relationships. Say your 16 measures are named measure1, measure2,...,measure16.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The stand alone table, let's call it tabMeasures, should have one column, let's call the column Measures. The values in this column should be text strings. For simplicity you can use the same names as your 16 measures, but it is not strictly necessary:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The values on the rows could/should corresponds to your measures, in&amp;nbsp; your case you should have 16 rows. Add a measure to this table like this&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;xAxisMeasure =
SWITCH (
    TRUE ();
    SELECTEDVALUE ( Table[measureName] ) = "measure1"; [measure1];
    SELECTEDVALUE ( Table[measureName] ) = "measure2"; [measure2];&lt;BR /&gt;    .&lt;BR /&gt;    .&lt;BR /&gt;    .&lt;BR /&gt;    SELECTEDVALUE ( Table[measureName] ) = "measure16"; [measure16];
    BLANK ()
)&lt;/PRE&gt;&lt;P&gt;Now add the column of the new table to the x-axis, and add this measure as the measure&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 12:09:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Correlation-between-multiple-columns/m-p/817225#M5451</guid>
      <dc:creator>sturlaws</dc:creator>
      <dc:date>2019-10-14T12:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation between multiple columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Correlation-between-multiple-columns/m-p/817994#M5499</link>
      <description>&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="88633" data-lia-user-login="sturlaws" class="lia-mention lia-mention-user"&gt;sturlaws&lt;/a&gt; You are a genius man. Thank You so much.</description>
      <pubDate>Tue, 15 Oct 2019 06:30:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Correlation-between-multiple-columns/m-p/817994#M5499</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-15T06:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation between multiple columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Correlation-between-multiple-columns/m-p/1586203#M31752</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="88633" data-lia-user-login="sturlaws" class="lia-mention lia-mention-user"&gt;sturlaws&lt;/a&gt; For the same example if I have to dynamically rank these measures. and how to go about.&lt;/P&gt;&lt;P&gt;The ranks should Ideally vary by applying some filter.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 11:26:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Correlation-between-multiple-columns/m-p/1586203#M31752</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-07T11:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation between multiple columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Correlation-between-multiple-columns/m-p/1586301#M31756</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm very busy at the moment, and can't help you with this. Try to create a new post for your question, I'm sure some of the other users of the forum will leap to your assistance.&lt;BR /&gt;&lt;BR /&gt;BR,&lt;/P&gt;
&lt;P&gt;Sturla&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 13:11:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Correlation-between-multiple-columns/m-p/1586301#M31756</guid>
      <dc:creator>sturlaws</dc:creator>
      <dc:date>2021-01-07T13:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation between multiple columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Correlation-between-multiple-columns/m-p/2052488#M46204</link>
      <description>&lt;P&gt;Could you show me how to make the variable Y dynamic?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 01:40:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Correlation-between-multiple-columns/m-p/2052488#M46204</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-02T01:40:25Z</dc:date>
    </item>
  </channel>
</rss>

