<?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: User defined scatterplot axes for regression in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/User-defined-scatterplot-axes-for-regression/m-p/2563897#M73008</link>
    <description>&lt;P&gt;Thanks for the reply Amit. I partially solved the problem. Field parameters were the solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sample Data:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Set up two identical Field Parameter tables, one for the x-axis and one for the y-axis:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Created Scatterplot visual and put the "columns" in the x and y-axis fields of the visual.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Only thing left is to set up the regression. But I cannot refer to the data that underlies the field parameter columns. I need to create measures for the regression calculations {e.g. SUMX(X-Axis,&amp;nbsp;X-Axis[X-Axis]),&amp;nbsp;SUMX(X-Axis,&amp;nbsp;X-Axis[X-Axis] ^ 2), etc.} but the relevant columns of the field parameter tables are strings. Is there any to access the data that the field parameter is referring to? I tried adding these parameter fields to an add-in visual that performs regression calculations and it works so there is a way to access the underlying data set to perform the calculations. I can't use the add-in because I don't have a license and the dataset is limited to 1000 points in the free version.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jun 2022 12:38:45 GMT</pubDate>
    <dc:creator>scrawfor</dc:creator>
    <dc:date>2022-06-07T12:38:45Z</dc:date>
    <item>
      <title>User defined scatterplot axes for regression</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/User-defined-scatterplot-axes-for-regression/m-p/2562196#M72921</link>
      <description>&lt;P&gt;Long time viewer, first time poster.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I have a table of facts. There are ~60 columns with ~30,000 rows. The table tracks process parameters. Each row in the table represents a single event.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I would like to be able to have the report consumer select which column is used on the y-axis and the which is used on the x-axis.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There are about 3 columns that act as identifiers (event ID key, facility, date). The remainder are the data that is collected about the event.&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;The goal is a user-defined linear regression between any two non-identifier columns that exist in the table.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Ive tried using field parameters, unpivoting the table and cross joining to get all possible combinations (this was unworkable), using a copy of the fact table to get the x and y, calculated tables and using a slicer as the way to add columns, etc.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;All the usual patterns that work for measures do not work for calculated tables when I tried.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2022 22:47:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/User-defined-scatterplot-axes-for-regression/m-p/2562196#M72921</guid>
      <dc:creator>scrawfor</dc:creator>
      <dc:date>2022-06-06T22:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: User defined scatterplot axes for regression</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/User-defined-scatterplot-axes-for-regression/m-p/2563441#M72993</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="243497" data-lia-user-login="scrawfor" class="lia-mention lia-mention-user"&gt;scrawfor&lt;/a&gt; , Final outcome is not clear. But a calculated table can not use slicer values. On a var table inside a measure can be dynamic &lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 09:15:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/User-defined-scatterplot-axes-for-regression/m-p/2563441#M72993</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-06-07T09:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: User defined scatterplot axes for regression</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/User-defined-scatterplot-axes-for-regression/m-p/2563897#M73008</link>
      <description>&lt;P&gt;Thanks for the reply Amit. I partially solved the problem. Field parameters were the solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sample Data:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Set up two identical Field Parameter tables, one for the x-axis and one for the y-axis:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Created Scatterplot visual and put the "columns" in the x and y-axis fields of the visual.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Only thing left is to set up the regression. But I cannot refer to the data that underlies the field parameter columns. I need to create measures for the regression calculations {e.g. SUMX(X-Axis,&amp;nbsp;X-Axis[X-Axis]),&amp;nbsp;SUMX(X-Axis,&amp;nbsp;X-Axis[X-Axis] ^ 2), etc.} but the relevant columns of the field parameter tables are strings. Is there any to access the data that the field parameter is referring to? I tried adding these parameter fields to an add-in visual that performs regression calculations and it works so there is a way to access the underlying data set to perform the calculations. I can't use the add-in because I don't have a license and the dataset is limited to 1000 points in the free version.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 12:38:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/User-defined-scatterplot-axes-for-regression/m-p/2563897#M73008</guid>
      <dc:creator>scrawfor</dc:creator>
      <dc:date>2022-06-07T12:38:45Z</dc:date>
    </item>
  </channel>
</rss>

