<?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: Calculate the name of a cell based on its value and column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-name-of-a-cell-based-on-its-value-and-column/m-p/1784109#M37453</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="210525" data-lia-user-login="kostask" class="lia-mention lia-mention-user"&gt;kostask&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not sure whether I understood your instruction correctly.&lt;/P&gt;&lt;P&gt;Please check the below picture and the link down below.&lt;/P&gt;&lt;P&gt;The measure is in the sample pbix file.&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;P&gt;&lt;A href="https://www.dropbox.com/s/qvigj4ihu246qcn/kostask.pbix?dl=0" target="_self"&gt;https://www.dropbox.com/s/qvigj4ihu246qcn/kostask.pbix?dl=0&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;EM&gt;&lt;STRONG&gt;Hi, My name is Jihwan Kim. &lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;EM&gt;&lt;STRONG&gt;If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.&lt;BR /&gt;&lt;BR /&gt;Linkedin: &lt;A href="https://www.linkedin.com/in/jihwankim1975/" target="_blank"&gt;https://www.linkedin.com/in/jihwankim1975/&lt;/A&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Apr 2021 08:50:47 GMT</pubDate>
    <dc:creator>Jihwan_Kim</dc:creator>
    <dc:date>2021-04-14T08:50:47Z</dc:date>
    <item>
      <title>Calculate the name of a cell based on its value and column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-name-of-a-cell-based-on-its-value-and-column/m-p/1783837#M37447</link>
      <description>&lt;P&gt;Hi, guys.&lt;/P&gt;&lt;P&gt;Actually, I'm not sure if it is possible to be solved since it seems pretty sophisticated.&lt;/P&gt;&lt;P&gt;So I have a matrix with rows (values A, B, C..) and columns (X, Y, Z), where I apply a calculated measure which gives numerical values as below:&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;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;X&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Y&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Z&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;A&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;B&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;C&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;D&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible for every row to grab the highest value and give it the name of the column that it belongs to?&lt;/P&gt;&lt;P&gt;So the final desirable output would be:&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;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;X&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Y&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Z&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;A&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;X&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;B&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Z&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;C&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Z&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;D&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanx!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kostas&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 06:58:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-name-of-a-cell-based-on-its-value-and-column/m-p/1783837#M37447</guid>
      <dc:creator>kostask</dc:creator>
      <dc:date>2021-04-14T06:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate the name of a cell based on its value and column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-name-of-a-cell-based-on-its-value-and-column/m-p/1783893#M37449</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="210525" data-lia-user-login="kostask" class="lia-mention lia-mention-user"&gt;kostask&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please check the below picture and the sample pbix file's link down below, whether it is what you are looking for.&lt;/P&gt;&lt;P&gt;All measures are in the sample pbix file.&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;P&gt;&lt;A href="https://www.dropbox.com/s/aowbs9mcj9pnijq/kostask2.pbix?dl=0" target="_self"&gt;https://www.dropbox.com/s/aowbs9mcj9pnijq/kostask2.pbix?dl=0&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;EM&gt;&lt;STRONG&gt;Hi, My name is Jihwan Kim. &lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;EM&gt;&lt;STRONG&gt;If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.&lt;BR /&gt;&lt;BR /&gt;Linkedin: &lt;A href="https://www.linkedin.com/in/jihwankim1975/" target="_blank"&gt;https://www.linkedin.com/in/jihwankim1975/&lt;/A&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 07:24:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-name-of-a-cell-based-on-its-value-and-column/m-p/1783893#M37449</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2021-04-14T07:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate the name of a cell based on its value and column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-name-of-a-cell-based-on-its-value-and-column/m-p/1784019#M37451</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;. It seems that I wasn't actually right at my description.&lt;/P&gt;&lt;P&gt;In fact, the table is virtual and is produced by other tables and a calculated measure and is not single that stands by itself.&lt;/P&gt;&lt;P&gt;But what actually really can help is that the result I want to retrieve follows your solution that you gave me last time.&lt;/P&gt;&lt;P&gt;Actually, I want to replace the biggest variance per row level at the following table, with the column name that it belongs to.&lt;/P&gt;&lt;P&gt;For example, at Cus001 I want to replace the biggest row var (38,57%) with Prod Catz where it belongs,&lt;/P&gt;&lt;P&gt;at Cus002 32,14% with Prod CatZ also, at Cus005 21,00% (which is the biggest variance) with ProdCatY etc. Is it possible?&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dropbox.com/s/qvigj4ihu246qcn/kostask.pbix?dl=0" target="_self"&gt;https://www.dropbox.com/s/qvigj4ihu246qcn/kostask.pbix?dl=0&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kostas&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 08:21:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-name-of-a-cell-based-on-its-value-and-column/m-p/1784019#M37451</guid>
      <dc:creator>kostask</dc:creator>
      <dc:date>2021-04-14T08:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate the name of a cell based on its value and column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-name-of-a-cell-based-on-its-value-and-column/m-p/1784109#M37453</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="210525" data-lia-user-login="kostask" class="lia-mention lia-mention-user"&gt;kostask&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not sure whether I understood your instruction correctly.&lt;/P&gt;&lt;P&gt;Please check the below picture and the link down below.&lt;/P&gt;&lt;P&gt;The measure is in the sample pbix file.&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;P&gt;&lt;A href="https://www.dropbox.com/s/qvigj4ihu246qcn/kostask.pbix?dl=0" target="_self"&gt;https://www.dropbox.com/s/qvigj4ihu246qcn/kostask.pbix?dl=0&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;EM&gt;&lt;STRONG&gt;Hi, My name is Jihwan Kim. &lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;EM&gt;&lt;STRONG&gt;If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.&lt;BR /&gt;&lt;BR /&gt;Linkedin: &lt;A href="https://www.linkedin.com/in/jihwankim1975/" target="_blank"&gt;https://www.linkedin.com/in/jihwankim1975/&lt;/A&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 08:50:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-name-of-a-cell-based-on-its-value-and-column/m-p/1784109#M37453</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2021-04-14T08:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate the name of a cell based on its value and column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-name-of-a-cell-based-on-its-value-and-column/m-p/1786431#M37549</link>
      <description>&lt;P&gt;Another great solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;!&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 09:01:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-name-of-a-cell-based-on-its-value-and-column/m-p/1786431#M37549</guid>
      <dc:creator>kostask</dc:creator>
      <dc:date>2021-04-15T09:01:02Z</dc:date>
    </item>
  </channel>
</rss>

