<?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: How to Render DAX Measure with Hyperlinks in Power BI Matrix Visual? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Render-DAX-Measure-with-Hyperlinks-in-Power-BI-Matrix/m-p/4255389#M168570</link>
    <description>&lt;P&gt;Thanks for the reply from shafiz_p, please allow me to provide another insight.&lt;BR /&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="829571" data-lia-user-login="PSA" class="lia-mention lia-mention-user"&gt;PSA&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Below is my sample data.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Create a measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;CombinedIssuesWithLinks = SELECTEDVALUE(Issues[ISSUE_KEY])&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Place the &lt;EM&gt;&lt;STRONG&gt;ISSUE_KEY&lt;/STRONG&gt;&lt;/EM&gt; field with the measure in the table visual.&lt;BR /&gt;&lt;BR /&gt;Go to Table Visual Format-&amp;gt;Visual-&amp;gt;Cell Elements-&amp;gt;For Apply settings to select the measure, find the Web URL and set it to On.&lt;BR /&gt;In the Web URL dialog box, select the &lt;EM&gt;&lt;STRONG&gt;ISSUE_URL&lt;/STRONG&gt;&lt;/EM&gt; field.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this way, the measure becomes a clickable hyperlink text pointing to the corresponding link.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;You can also refer to the following link for more information.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-hyperlinks-in-tables?tabs=powerbi-desktop" target="_blank"&gt;Add hyperlinks (URLs) to a table or matrix - Power BI | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Please see the attached pbix for reference.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Dengliang Li&lt;BR /&gt;&lt;BR /&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Thu, 24 Oct 2024 03:08:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-10-24T03:08:32Z</dc:date>
    <item>
      <title>How to Render DAX Measure with Hyperlinks in Power BI Matrix Visual?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Render-DAX-Measure-with-Hyperlinks-in-Power-BI-Matrix/m-p/4254205#M168519</link>
      <description>&lt;P&gt;Hello Power BI community,&lt;/P&gt;&lt;P&gt;I am trying to create a DAX measure that combines multiple &lt;EM&gt;&lt;STRONG&gt;ISSUE_KEY&lt;/STRONG&gt;&lt;/EM&gt; values from Issues table into a string of clickable hyperlinks. The goal is to concatenate the values and display them as individual links in a Power BI Matrix visual.&lt;/P&gt;&lt;P&gt;I have the URL saved in &lt;EM&gt;&lt;STRONG&gt;Issues[ISSUE_URL]&lt;/STRONG&gt;&lt;/EM&gt; but the display text should be &lt;STRONG&gt;&lt;EM&gt;Issues[ISSUE_KEY]&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Here is the DAX measure I’m using:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;CombinedIssuesWithLinks = 
CONCATENATEX(
    Issues, 
   // Something like HYPERLINK(Issues[URL],Issues[ISSUE_KEY])
    "&amp;lt;a href='" &amp;amp; Issues[URL] &amp;amp; "' target='_blank'&amp;gt;" &amp;amp; Issues[ISSUE_KEY] &amp;amp; "&amp;lt;/a&amp;gt;",
    UNICHAR(10)  // To add a line break between links
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I add this measure to my Matrix visual, Power BI does not render the hyperlinks but instead displays the raw text.&lt;/P&gt;&lt;H3&gt;My questions are:&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Is it possible to render HTML or clickable hyperlinks in a Matrix or Table visual using DAX in Power BI?&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;If not&lt;/STRONG&gt;, are there any workarounds to display concatenated hyperlinks in a way that Power BI will recognize them as clickable links?&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Is there any way to create dynamic rows&lt;/STRONG&gt; inside a matrix cell if more than one value exists? For example, if there are multiple &lt;EM&gt;&lt;STRONG&gt;ISSUE_KEY&lt;/STRONG&gt; &lt;/EM&gt;values, can I dynamically add separate rows within a single matrix cell?&lt;/LI&gt;&lt;/OL&gt;&lt;H3&gt;I would appreciate any advice or solutions that can help me achieve clickable hyperlinks or similar dynamic row behavior within a matrix or table cell in Power BI.&lt;/H3&gt;</description>
      <pubDate>Wed, 23 Oct 2024 11:05:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Render-DAX-Measure-with-Hyperlinks-in-Power-BI-Matrix/m-p/4254205#M168519</guid>
      <dc:creator>PSA</dc:creator>
      <dc:date>2024-10-23T11:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to Render DAX Measure with Hyperlinks in Power BI Matrix Visual?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Render-DAX-Measure-with-Hyperlinks-in-Power-BI-Matrix/m-p/4254304#M168524</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="829571" data-lia-user-login="PSA" class="lia-mention lia-mention-user"&gt;PSA&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;Rendering HTML or clickable hyperlinks directly in a Power BI Matrix or Table visual using DAX measure is not supported. However, you can achieve clickable hyperlinks by using calculated column and change the data category to Web URL. See image below:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;This is clickable. It will redirect to the website.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps!!&lt;/P&gt;&lt;P&gt;If this solve your problem, please accept it as a solution!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Shahariar Hafiz&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 12:10:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Render-DAX-Measure-with-Hyperlinks-in-Power-BI-Matrix/m-p/4254304#M168524</guid>
      <dc:creator>shafiz_p</dc:creator>
      <dc:date>2024-10-23T12:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to Render DAX Measure with Hyperlinks in Power BI Matrix Visual?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Render-DAX-Measure-with-Hyperlinks-in-Power-BI-Matrix/m-p/4254321#M168526</link>
      <description>&lt;P&gt;Hi Shafiz,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, i can display the whole URL directly. But what I want is to only display the Text.&lt;/P&gt;&lt;P&gt;Something like the following where Display text 1 and Display Text2 has got two diffent links.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 12:24:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Render-DAX-Measure-with-Hyperlinks-in-Power-BI-Matrix/m-p/4254321#M168526</guid>
      <dc:creator>PSA</dc:creator>
      <dc:date>2024-10-23T12:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to Render DAX Measure with Hyperlinks in Power BI Matrix Visual?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Render-DAX-Measure-with-Hyperlinks-in-Power-BI-Matrix/m-p/4255389#M168570</link>
      <description>&lt;P&gt;Thanks for the reply from shafiz_p, please allow me to provide another insight.&lt;BR /&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="829571" data-lia-user-login="PSA" class="lia-mention lia-mention-user"&gt;PSA&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Below is my sample data.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Create a measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;CombinedIssuesWithLinks = SELECTEDVALUE(Issues[ISSUE_KEY])&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Place the &lt;EM&gt;&lt;STRONG&gt;ISSUE_KEY&lt;/STRONG&gt;&lt;/EM&gt; field with the measure in the table visual.&lt;BR /&gt;&lt;BR /&gt;Go to Table Visual Format-&amp;gt;Visual-&amp;gt;Cell Elements-&amp;gt;For Apply settings to select the measure, find the Web URL and set it to On.&lt;BR /&gt;In the Web URL dialog box, select the &lt;EM&gt;&lt;STRONG&gt;ISSUE_URL&lt;/STRONG&gt;&lt;/EM&gt; field.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this way, the measure becomes a clickable hyperlink text pointing to the corresponding link.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;You can also refer to the following link for more information.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-hyperlinks-in-tables?tabs=powerbi-desktop" target="_blank"&gt;Add hyperlinks (URLs) to a table or matrix - Power BI | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Please see the attached pbix for reference.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Dengliang Li&lt;BR /&gt;&lt;BR /&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 03:08:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Render-DAX-Measure-with-Hyperlinks-in-Power-BI-Matrix/m-p/4255389#M168570</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-10-24T03:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to Render DAX Measure with Hyperlinks in Power BI Matrix Visual?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Render-DAX-Measure-with-Hyperlinks-in-Power-BI-Matrix/m-p/4255710#M168586</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Dengliang,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried this method but it either takes the first or the last value. I have multiple values and i want to concatenate them to a single value with correct URL.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 06:59:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Render-DAX-Measure-with-Hyperlinks-in-Power-BI-Matrix/m-p/4255710#M168586</guid>
      <dc:creator>PSA</dc:creator>
      <dc:date>2024-10-24T06:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to Render DAX Measure with Hyperlinks in Power BI Matrix Visual?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Render-DAX-Measure-with-Hyperlinks-in-Power-BI-Matrix/m-p/4257696#M168695</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="829571" data-lia-user-login="PSA" class="lia-mention lia-mention-user"&gt;PSA&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;I'm afraid that's not possible.&lt;BR /&gt;After testing,&amp;nbsp;multiple URL values in a cell in table visual and matrix visual will be rendered as an illegal and invalid URL.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;You can only select a URL value to take effect with some settings (First/Last).&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Dengliang Li&lt;BR /&gt;&lt;BR /&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2024 08:26:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Render-DAX-Measure-with-Hyperlinks-in-Power-BI-Matrix/m-p/4257696#M168695</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-10-25T08:26:24Z</dc:date>
    </item>
  </channel>
</rss>

