<?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: Is it possible? Creating a relationship between a measure and a cell of a column (of a table) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Is-it-possible-Creating-a-relationship-between-a-measure-and-a/m-p/2755429#M85166</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please check the below picture and the attached pbix file.&lt;/P&gt;
&lt;P&gt;I tried to create a sample pbix file like below, and I hope the below can provide some ideas on how to create a solution for your dataset.&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;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Expected result measure: =
SWITCH (
    TRUE (),
    SELECTEDVALUE ( 'Axis table'[Value] ) = 1, CALCULATE ( SUM ( Data[Quantity] ), Data[Category] = "Ca01" ),
    SELECTEDVALUE ( 'Axis table'[Value] ) = 2, CALCULATE ( SUM ( Data[Quantity] ), Data[Category] = "Ca03" ),
    SELECTEDVALUE ( 'Axis table'[Value] ) = 3, CALCULATE ( SUM ( Data[Quantity] ), Data[Category] = "Ca08" )
)
&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 08 Sep 2022 12:17:18 GMT</pubDate>
    <dc:creator>Jihwan_Kim</dc:creator>
    <dc:date>2022-09-08T12:17:18Z</dc:date>
    <item>
      <title>Is it possible? Creating a relationship between a measure and a cell of a column (of a table)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Is-it-possible-Creating-a-relationship-between-a-measure-and-a/m-p/2755353#M85160</link>
      <description>&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to set up a relationship between a measure and a Column of a table?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So what I thought is the following:&lt;/P&gt;&lt;P&gt;1) I created a new table with the GENERATESERIES() Function. In this function I just put in a span of integers (For example 1 until 10)&lt;/P&gt;&lt;P&gt;2) I created 10 measures for every integer value.&lt;/P&gt;&lt;P&gt;3) Usually I just can create relationships between tables. But now I would like to have a 2-Tuple.&lt;/P&gt;&lt;P&gt;4) I considered to do something like this / the idea: { (1, measure_result_1), (2, measure_result_2), ..., (10, measure_result_10) }&lt;/P&gt;&lt;P&gt;5) Result should be a visualisation with 1 until 10 on x-axis and the corresponding results on the y-axis.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 12:04:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Is-it-possible-Creating-a-relationship-between-a-measure-and-a/m-p/2755353#M85160</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-08T12:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible? Creating a relationship between a measure and a cell of a column (of a table)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Is-it-possible-Creating-a-relationship-between-a-measure-and-a/m-p/2755375#M85161</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;Maybe:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure =
  SWITCH('Table'[Index],
    1, [measure1],
    2, [measure2],
    3, [measure3],
    4, [measure4],
    ...
  )&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 08 Sep 2022 12:09:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Is-it-possible-Creating-a-relationship-between-a-measure-and-a/m-p/2755375#M85161</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-09-08T12:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible? Creating a relationship between a measure and a cell of a column (of a table)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Is-it-possible-Creating-a-relationship-between-a-measure-and-a/m-p/2755429#M85166</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please check the below picture and the attached pbix file.&lt;/P&gt;
&lt;P&gt;I tried to create a sample pbix file like below, and I hope the below can provide some ideas on how to create a solution for your dataset.&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;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Expected result measure: =
SWITCH (
    TRUE (),
    SELECTEDVALUE ( 'Axis table'[Value] ) = 1, CALCULATE ( SUM ( Data[Quantity] ), Data[Category] = "Ca01" ),
    SELECTEDVALUE ( 'Axis table'[Value] ) = 2, CALCULATE ( SUM ( Data[Quantity] ), Data[Category] = "Ca03" ),
    SELECTEDVALUE ( 'Axis table'[Value] ) = 3, CALCULATE ( SUM ( Data[Quantity] ), Data[Category] = "Ca08" )
)
&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 08 Sep 2022 12:17:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Is-it-possible-Creating-a-relationship-between-a-measure-and-a/m-p/2755429#M85166</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2022-09-08T12:17:18Z</dc:date>
    </item>
  </channel>
</rss>

