<?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 Measure showing selected column in table/ matrix in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Measure-showing-selected-column-in-table-matrix/m-p/3970050#M153977</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;,thanks for the quick reply, I'll add further.&lt;/P&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="58682" data-lia-user-login="Kopek" class="lia-mention lia-mention-user"&gt;Kopek&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You can use the 'Matrix' visual.'Table' visual doesn't meet your needs.The Table data is shown below:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Please follow these steps:&lt;BR /&gt;1. Use the following DAX expression to create a table&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Table 2 = {"Plan Name","Date","Region"}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2.Use the following DAX expression to create a measure&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
VAR _a = SELECTEDVALUE('Table 2'[Value])
VAR _b = SWITCH(TRUE(),
_a = "Date",CONCATENATEX(SELECTCOLUMNS('Table',"Date",[Date]),[Date],UNICHAR(10)),
_a = "Plan Name",CONCATENATEX(SELECTCOLUMNS('Table',"Plan Name",[Plan Name]),[Plan Name],UNICHAR(10)),
_a = "Region",CONCATENATEX(SELECTCOLUMNS('Table',"Region",[Region]),[Region],UNICHAR(10))
)
RETURN _b&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3.Use the following DAX expression to create a measure for tooltip&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure 2 = 
VAR _a = SELECTEDVALUE('Table 2'[Value])
RETURN SWITCH(TRUE(),
_a = "Plan Name","Plan Name Definition",
_a = "Date","Date Definition",
_a = "Region","Region Definition")&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4.Final output&lt;/P&gt;
&lt;P&gt;&lt;img /&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;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Jun 2024 02:52:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-06-04T02:52:45Z</dc:date>
    <item>
      <title>Dax Measure showing selected column in table/ matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Measure-showing-selected-column-in-table-matrix/m-p/3968942#M153920</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create a measure for customize tooltip.&lt;/P&gt;&lt;P&gt;I am having a table with data with some simple data:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Plan Name&lt;/TD&gt;&lt;TD&gt;Date&lt;/TD&gt;&lt;TD&gt;Region&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Plan Name 1&lt;/TD&gt;&lt;TD&gt;DD/MM/YYYY&lt;/TD&gt;&lt;TD&gt;UK&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Plan Name 2&lt;/TD&gt;&lt;TD&gt;DD/MM/YYYY&lt;/TD&gt;&lt;TD&gt;USA&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using above data in different matrix/ tables.&lt;BR /&gt;What i want to figure out is whether is it possible to create a dax calculation, which can indicate which column i hover over on currently, so that it can be used in a tooltip, to show column definition instead of tooltip data.&lt;BR /&gt;So, when hover-over on a Plan Name, I want to see "Plan Name Definition", For Date column "Date Definition", For Region column "Region Definition".&lt;BR /&gt;That might be when hover over on a column header or column content itself - no matter.&lt;BR /&gt;just want to have a different tooltip for each column in a table.&lt;BR /&gt;Tried to work with Selected value, and some other funcions, but without any success &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;Any ideas are welcome!&lt;BR /&gt;Below some mockup of desired outcome:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 13:34:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Measure-showing-selected-column-in-table-matrix/m-p/3968942#M153920</guid>
      <dc:creator>Kopek</dc:creator>
      <dc:date>2024-06-03T13:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Measure showing selected column in table/ matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Measure-showing-selected-column-in-table-matrix/m-p/3969714#M153966</link>
      <description>&lt;P&gt;custom tooltips only work on cell level&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;column headers get the default tooltip&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this is important to you please consider voting for an existing idea or raising a new one at &lt;A href="https://ideas.fabric.microsoft.com/?forum=2d80fd4a-16cb-4189-896b-e0dac5e08b41" target="_blank"&gt;https://ideas.fabric.microsoft.com/?forum=2d80fd4a-16cb-4189-896b-e0dac5e08b41&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 22:32:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Measure-showing-selected-column-in-table-matrix/m-p/3969714#M153966</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-06-03T22:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Measure showing selected column in table/ matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Measure-showing-selected-column-in-table-matrix/m-p/3970050#M153977</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;,thanks for the quick reply, I'll add further.&lt;/P&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="58682" data-lia-user-login="Kopek" class="lia-mention lia-mention-user"&gt;Kopek&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You can use the 'Matrix' visual.'Table' visual doesn't meet your needs.The Table data is shown below:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Please follow these steps:&lt;BR /&gt;1. Use the following DAX expression to create a table&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Table 2 = {"Plan Name","Date","Region"}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2.Use the following DAX expression to create a measure&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
VAR _a = SELECTEDVALUE('Table 2'[Value])
VAR _b = SWITCH(TRUE(),
_a = "Date",CONCATENATEX(SELECTCOLUMNS('Table',"Date",[Date]),[Date],UNICHAR(10)),
_a = "Plan Name",CONCATENATEX(SELECTCOLUMNS('Table',"Plan Name",[Plan Name]),[Plan Name],UNICHAR(10)),
_a = "Region",CONCATENATEX(SELECTCOLUMNS('Table',"Region",[Region]),[Region],UNICHAR(10))
)
RETURN _b&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3.Use the following DAX expression to create a measure for tooltip&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure 2 = 
VAR _a = SELECTEDVALUE('Table 2'[Value])
RETURN SWITCH(TRUE(),
_a = "Plan Name","Plan Name Definition",
_a = "Date","Date Definition",
_a = "Region","Region Definition")&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4.Final output&lt;/P&gt;
&lt;P&gt;&lt;img /&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;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 02:52:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Measure-showing-selected-column-in-table-matrix/m-p/3970050#M153977</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-04T02:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Measure showing selected column in table/ matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Measure-showing-selected-column-in-table-matrix/m-p/3974657#M154122</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;, i have modified it a bit, but with matrix it works perfectly fine!&lt;/P&gt;&lt;P&gt;thanks for your help! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 14:26:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Measure-showing-selected-column-in-table-matrix/m-p/3974657#M154122</guid>
      <dc:creator>Kopek</dc:creator>
      <dc:date>2024-06-05T14:26:01Z</dc:date>
    </item>
  </channel>
</rss>

