<?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: undefined in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3355685#M126095</link>
    <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;  ok I will try your code . Above image see my code and my output. in output head office showing but in N/A only showing A alone wht is the issue in my code plz tell .&lt;/P&gt;</description>
    <pubDate>Fri, 28 Jul 2023 16:01:18 GMT</pubDate>
    <dc:creator>Karthikgayathri</dc:creator>
    <dc:date>2023-07-28T16:01:18Z</dc:date>
    <item>
      <title>undefined</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3354892#M126033</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="565196" data-lia-user-login="rubayatyasmin" class="lia-mention lia-mention-user"&gt;rubayatyasmin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt; i need output as text without the bracket&amp;nbsp; ex : Head Office&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I used to write the code&amp;nbsp;&lt;/P&gt;&lt;P&gt;Right ( dim( customer) , search("(" , dim( customer) 1, len ( dim( customer )+1)-1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;My output is (Head Office)&lt;/P&gt;&lt;P&gt;&amp;nbsp;I need without bracket in dax query&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 07:50:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3354892#M126033</guid>
      <dc:creator>Karthikgayathri</dc:creator>
      <dc:date>2023-07-28T07:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: undefined</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3354928#M126034</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="589737" data-lia-user-login="Karthikgayathri" class="lia-mention lia-mention-user"&gt;Karthikgayathri&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Go to power query and use Split by Delimiter. Set the delimiter to (, it will split it in a new column. Rename the column. this kind of changes fall under data transformation. No need to write DAX for it. Power Query has it's own functionality to handle these sort of stuff.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Refer to this document :&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/power-query/split-columns-delimiter" target="_blank"&gt;https://learn.microsoft.com/en-us/power-query/split-columns-delimiter&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 08:00:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3354928#M126034</guid>
      <dc:creator>rubayatyasmin</dc:creator>
      <dc:date>2023-07-28T08:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: undefined</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3354947#M126037</link>
      <description>&lt;P&gt;Bro I need dax formula by using left ,right ,mid functions&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 08:11:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3354947#M126037</guid>
      <dc:creator>Karthikgayathri</dc:creator>
      <dc:date>2023-07-28T08:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: undefined</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3354948#M126038</link>
      <description>&lt;P&gt;Use MID func.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=MID([ColumnName], FIND("(", [ColumnName], 1, LEN([ColumnName]), 0) + 1,&lt;BR /&gt;FIND(")", [ColumnName], 1, LEN([ColumnName]), 0) - FIND("(", [ColumnName], 1, LEN([ColumnName]), 0) - 1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;replace col name with actual column name .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 08:17:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3354948#M126038</guid>
      <dc:creator>rubayatyasmin</dc:creator>
      <dc:date>2023-07-28T08:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: undefined</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3355024#M126043</link>
      <description>&lt;P&gt;Instead of 0 only u used len function then again using 0 how u used 0 ?&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 08:58:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3355024#M126043</guid>
      <dc:creator>Karthikgayathri</dc:creator>
      <dc:date>2023-07-28T08:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: undefined</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3355045#M126045</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="589737" data-lia-user-login="Karthikgayathri" class="lia-mention lia-mention-user"&gt;Karthikgayathri&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please try&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Bill to Customer 2 =
SUBSTITUTE ( SUBSTITUTE ( dimCustomer[Bill to Customer], ")", "" ), "(", "" )&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 28 Jul 2023 09:05:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3355045#M126045</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-07-28T09:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: undefined</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3355060#M126047</link>
      <description>&lt;P&gt;Here is the explanation of the formula:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;FIND("(", [ColumnName], 1, LEN([ColumnName]), 0) + 1 - It finds the first character after the opening bracket.&lt;/LI&gt;&lt;LI&gt;FIND(")", [ColumnName], 1, LEN([ColumnName]), 0) - FIND("(", [ColumnName], 1, LEN([ColumnName]), 0) - 1 - It calculates the number of characters to extract.&lt;/LI&gt;&lt;LI&gt;MID([ColumnName], ..., ...) - This function will then extract the required number of characters starting from the specified position.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Also, know the details of the Find function.&amp;nbsp;&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;refer:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/dax/find-function-dax" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/dax/find-function-dax&lt;/A&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>Fri, 28 Jul 2023 09:10:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3355060#M126047</guid>
      <dc:creator>rubayatyasmin</dc:creator>
      <dc:date>2023-07-28T09:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: undefined</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3355066#M126048</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt; for your query above image&amp;nbsp;&lt;/P&gt;&lt;P&gt;output . I need only head office without bracket&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 09:11:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3355066#M126048</guid>
      <dc:creator>Karthikgayathri</dc:creator>
      <dc:date>2023-07-28T09:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: undefined</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3355078#M126049</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="589737" data-lia-user-login="Karthikgayathri" class="lia-mention lia-mention-user"&gt;Karthikgayathri&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Sorry. I misunderstood&amp;nbsp;the requirement. Please try&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Bill to Customer 2 = 
VAR String = dimCustomer[Bill to Customer]
VAR Items = SUBSTITUTE ( SUBSTITUTE ( String, "(", "|" ), ")", "|" )
RETURN
    PATHITEM ( Items, 2 )&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 28 Jul 2023 09:15:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3355078#M126049</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-07-28T09:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: undefined</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3355137#M126051</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;  In 2 nd image - see the input&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1 st image I got the same output but instead of N/A showing blank .in output both N/A and head office need to display.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 09:40:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3355137#M126051</guid>
      <dc:creator>Karthikgayathri</dc:creator>
      <dc:date>2023-07-28T09:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: undefined</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3355141#M126052</link>
      <description>&lt;P&gt;Bro for find function only 4 input but u extra added 0 also .find ("(", column name , 1 ( starting position), len ( not found value ))&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 09:42:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3355141#M126052</guid>
      <dc:creator>Karthikgayathri</dc:creator>
      <dc:date>2023-07-28T09:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: undefined</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3355157#M126054</link>
      <description>&lt;P&gt;0 - not found value,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try using this code without LEN func and &lt;SPAN&gt;not_found_value param&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;note: the following code assumes you have brackets in all the rows.&amp;nbsp;&lt;/P&gt;&lt;P&gt;MID([ColumnName],&lt;BR /&gt;FIND("(", [ColumnName]) + 1,&lt;BR /&gt;FIND(")", [ColumnName]) - FIND("(", [ColumnName]) - 1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MID([ColumnName], start_position, num_characters)&lt;SPAN&gt;: MID function returns a string of characters from the middle of a text string, given a starting position and length. Here, the starting position and length are determined by the other two parts of the expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 09:59:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3355157#M126054</guid>
      <dc:creator>rubayatyasmin</dc:creator>
      <dc:date>2023-07-28T09:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: undefined</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3355216#M126060</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp; plz reply&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 10:52:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3355216#M126060</guid>
      <dc:creator>Karthikgayathri</dc:creator>
      <dc:date>2023-07-28T10:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: undefined</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3355397#M126076</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="589737" data-lia-user-login="Karthikgayathri" class="lia-mention lia-mention-user"&gt;Karthikgayathri&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Bill to Customer 2 =
VAR String = dimCustomer[Bill to Customer]
VAR Items =
    SUBSTITUTE ( SUBSTITUTE ( String, "(", "|" ), ")", "|" )
RETURN
    COALESCE ( PATHITEM ( Items, 2 ), "N/A" )&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 28 Jul 2023 13:00:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3355397#M126076</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-07-28T13:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: undefined</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3355515#M126084</link>
      <description>&lt;P&gt;Still N/A not displayed&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 13:59:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3355515#M126084</guid>
      <dc:creator>Karthikgayathri</dc:creator>
      <dc:date>2023-07-28T13:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: undefined</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3355596#M126091</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="589737" data-lia-user-login="Karthikgayathri" class="lia-mention lia-mention-user"&gt;Karthikgayathri&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Bill to Customer 2 = 
VAR String = dimCustomer[Bill to Customer]
VAR Items = SUBSTITUTE ( SUBSTITUTE ( String, "(", "|" ), ")", "|" )
VAR Result = PATHITEM ( Items, 2 )
RETURN
    IF ( Result = BLANK ( ), "N/A", Result )&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 28 Jul 2023 14:52:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3355596#M126091</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-07-28T14:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: undefined</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3355685#M126095</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;  ok I will try your code . Above image see my code and my output. in output head office showing but in N/A only showing A alone wht is the issue in my code plz tell .&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 16:01:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3355685#M126095</guid>
      <dc:creator>Karthikgayathri</dc:creator>
      <dc:date>2023-07-28T16:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: undefined</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3355690#M126096</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;  in my above code wht is the error bro . output showing head office crtly but N/A only showing A alone not showing N/A any error in my code plz tell&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 16:02:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3355690#M126096</guid>
      <dc:creator>Karthikgayathri</dc:creator>
      <dc:date>2023-07-28T16:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: undefined</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3355994#M126111</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="589737" data-lia-user-login="Karthikgayathri" class="lia-mention lia-mention-user"&gt;Karthikgayathri&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is not my code.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 19:56:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3355994#M126111</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-07-28T19:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: undefined</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3356742#M126152</link>
      <description>&lt;P class="lia-align-center"&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="565196" data-lia-user-login="rubayatyasmin" class="lia-mention lia-mention-user"&gt;rubayatyasmin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-center"&gt;@I have one doubt in Power bi service. In dashboard tile refresh failed.wht are the steps u follow ( one intervention questio&lt;/P&gt;</description>
      <pubDate>Sun, 30 Jul 2023 08:15:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/undefined/m-p/3356742#M126152</guid>
      <dc:creator>Karthikgayathri</dc:creator>
      <dc:date>2023-07-30T08:15:55Z</dc:date>
    </item>
  </channel>
</rss>

