<?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: Dynamic Page navigation using string from MDX measure in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Dynamic-Page-navigation-using-string-from-MDX-measure/m-p/4068373#M54420</link>
    <description>&lt;P&gt;Hi @Anonymous&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I know that from the Power BI tool itself only allows to use Dax code.&lt;BR /&gt;But in my situation, I connect to SQL Server Analysis Service (which is OLAP, as I mentioned above) and Power BI is now a tool to visualization, not build the report.&lt;BR /&gt;It's just kinda weird that I can't add the measure to the 'fx' function. No detail error message -.-&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thanhloan_vee_0-1722320857830.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1141401i2E1075AC5ED5C225/image-size/medium?v=v2&amp;amp;px=400" role="button" title="thanhloan_vee_0-1722320857830.png" alt="thanhloan_vee_0-1722320857830.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jul 2024 06:28:12 GMT</pubDate>
    <dc:creator>thanhloan_vee</dc:creator>
    <dc:date>2024-07-30T06:28:12Z</dc:date>
    <item>
      <title>Dynamic Page navigation using string from MDX measure</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dynamic-Page-navigation-using-string-from-MDX-measure/m-p/4066863#M54391</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently my Power BI report is connected to OLAP database.&lt;BR /&gt;What I want is to create a navigate button, in which the destination will be dynamic based on the user access rights (I have already had the file maintained the returned string for each user)&lt;BR /&gt;For example, I have user A and user B.&lt;BR /&gt;The measure will be: &lt;STRONG&gt;if(user = User A, 'Budget A', 'Budget B')&lt;/STRONG&gt; and it'll returns the string = page name, so it can navigate to that page.&lt;/P&gt;&lt;P&gt;With DAX query, it works well. But with MDX, I can't add the measure to the 'fx' (conditional formatting, i guess?)&lt;BR /&gt;&lt;BR /&gt;Is there any ideas to implement it or why I can't add my measures ??&lt;BR /&gt;Thank you in advance&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thanhloan_vee_0-1722251182508.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1140851i790AF82614724A15/image-size/medium?v=v2&amp;amp;px=400" role="button" title="thanhloan_vee_0-1722251182508.png" alt="thanhloan_vee_0-1722251182508.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2024 11:50:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dynamic-Page-navigation-using-string-from-MDX-measure/m-p/4066863#M54391</guid>
      <dc:creator>thanhloan_vee</dc:creator>
      <dc:date>2024-07-29T11:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Page navigation using string from MDX measure</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dynamic-Page-navigation-using-string-from-MDX-measure/m-p/4068312#M54418</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/782272"&gt;@thanhloan_vee&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As far as I know, Power BI support you to use dax code to creates measures.&lt;/P&gt;
&lt;P&gt;Refering to this offical blog, I think Power BI doesn't support us to create measures by MDX.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vrzhoumsft_0-1722318887763.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1141343i42627F075DE87697/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vrzhoumsft_0-1722318887763.png" alt="vrzhoumsft_0-1722318887763.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;For reference:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/analysis-services/multidimensional-models/mdx/mdx-building-measures?view=asallproducts-allversions" target="_blank"&gt;Building Measures in MDX | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&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>Tue, 30 Jul 2024 05:55:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dynamic-Page-navigation-using-string-from-MDX-measure/m-p/4068312#M54418</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-30T05:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Page navigation using string from MDX measure</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dynamic-Page-navigation-using-string-from-MDX-measure/m-p/4068373#M54420</link>
      <description>&lt;P&gt;Hi @Anonymous&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I know that from the Power BI tool itself only allows to use Dax code.&lt;BR /&gt;But in my situation, I connect to SQL Server Analysis Service (which is OLAP, as I mentioned above) and Power BI is now a tool to visualization, not build the report.&lt;BR /&gt;It's just kinda weird that I can't add the measure to the 'fx' function. No detail error message -.-&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thanhloan_vee_0-1722320857830.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1141401i2E1075AC5ED5C225/image-size/medium?v=v2&amp;amp;px=400" role="button" title="thanhloan_vee_0-1722320857830.png" alt="thanhloan_vee_0-1722320857830.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2024 06:28:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dynamic-Page-navigation-using-string-from-MDX-measure/m-p/4068373#M54420</guid>
      <dc:creator>thanhloan_vee</dc:creator>
      <dc:date>2024-07-30T06:28:12Z</dc:date>
    </item>
  </channel>
</rss>

