<?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: Formatting phone numbers (remove both hyphen and parenthesis) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Formatting-phone-numbers-remove-both-hyphen-and-parenthesis/m-p/1704141#M35113</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;, why bother to format string with DAX? Power Query is born for such tasks,&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Text.Select("Any String", {"0".."9"})&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Mar 2021 22:39:59 GMT</pubDate>
    <dc:creator>CNENFRNL</dc:creator>
    <dc:date>2021-03-04T22:39:59Z</dc:date>
    <item>
      <title>Formatting phone numbers (remove both hyphen and parenthesis)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Formatting-phone-numbers-remove-both-hyphen-and-parenthesis/m-p/1703984#M35104</link>
      <description>&lt;P&gt;For my report, I need to format my phone numbers in a way different than a lot of other people - I need the dashes and parentheses removed from the numbers currently being displayed.&lt;/P&gt;&lt;P&gt;Currently, my phone numbers are formatted as (999)999-9999 or 999-999-9999.&lt;/P&gt;&lt;P&gt;I need them to just say 9999999999.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used the substitute function to remove the -, which worked, but am having a lot of trouble when it comes to removing either of the parenthesis as DAX sees this as my trying to execute another function. Does anyone have any suggestions that will allow me to remove both the - and the () in phone numbers?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 19:33:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Formatting-phone-numbers-remove-both-hyphen-and-parenthesis/m-p/1703984#M35104</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-03-04T19:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting phone numbers (remove both hyphen and parenthesis)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Formatting-phone-numbers-remove-both-hyphen-and-parenthesis/m-p/1704009#M35107</link>
      <description>&lt;P&gt;This is the current formual I have been using:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Customer Phone = SUBSTITUTE(Substitute('Report'[Customer Phone], "-", ""), "(","")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 04 Mar 2021 20:01:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Formatting-phone-numbers-remove-both-hyphen-and-parenthesis/m-p/1704009#M35107</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-03-04T20:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting phone numbers (remove both hyphen and parenthesis)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Formatting-phone-numbers-remove-both-hyphen-and-parenthesis/m-p/1704141#M35113</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;, why bother to format string with DAX? Power Query is born for such tasks,&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Text.Select("Any String", {"0".."9"})&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 22:39:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Formatting-phone-numbers-remove-both-hyphen-and-parenthesis/m-p/1704141#M35113</guid>
      <dc:creator>CNENFRNL</dc:creator>
      <dc:date>2021-03-04T22:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting phone numbers (remove both hyphen and parenthesis)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Formatting-phone-numbers-remove-both-hyphen-and-parenthesis/m-p/1705773#M35160</link>
      <description>&lt;P&gt;Thank you, but unfortunately due to the nature of the data being used, I do not have access to the SQL server that would allow me to transform the data.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 14:07:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Formatting-phone-numbers-remove-both-hyphen-and-parenthesis/m-p/1705773#M35160</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-03-05T14:07:47Z</dc:date>
    </item>
  </channel>
</rss>

