<?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 Parse Existing Column in DirectQuery mode in Desktop</title>
    <link>https://community.fabric.microsoft.com/t5/Desktop/Parse-Existing-Column-in-DirectQuery-mode/m-p/143492#M61908</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm working with a table that, in one column, contains different strings of text that I need to extract data from. Some of these strings include:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;"Matched with confidence: &lt;U&gt;&lt;STRONG&gt;100&lt;/STRONG&gt;&lt;/U&gt;%"&lt;/LI&gt;&lt;LI&gt;"Connection Error 566-353-54354 - User busy"&lt;/LI&gt;&lt;LI&gt;"Matched with confidence: &lt;U&gt;&lt;STRONG&gt;100&lt;/STRONG&gt;&lt;/U&gt;%. Variables: Step1Choice1=Hello"&lt;/LI&gt;&lt;LI&gt;"No match. Confidence: &lt;STRONG&gt;&lt;U&gt;59&lt;/U&gt;&lt;/STRONG&gt;% is less than the required 80%"&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;NOTE: The bold underlined number is what I need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically, if a number is proceeded by "onfidence: " and followed by "%" I need to add it to its own column. I found a couple of ways to achieve this, but the result was I could no longer use a live connection with DirectQuery. As my database is beyond massive, import mode is not an option. Also due to circumstances, I am unable to parse in the database before connecting to Power BI.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, is there a way I can parse the required data from the column while staying in DirectQuery mode (possibly using a DAX query)? Or am I out of luck?&lt;/P&gt;</description>
    <pubDate>Thu, 16 Mar 2017 04:39:04 GMT</pubDate>
    <dc:creator>reno1</dc:creator>
    <dc:date>2017-03-16T04:39:04Z</dc:date>
    <item>
      <title>Parse Existing Column in DirectQuery mode</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Parse-Existing-Column-in-DirectQuery-mode/m-p/143492#M61908</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm working with a table that, in one column, contains different strings of text that I need to extract data from. Some of these strings include:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;"Matched with confidence: &lt;U&gt;&lt;STRONG&gt;100&lt;/STRONG&gt;&lt;/U&gt;%"&lt;/LI&gt;&lt;LI&gt;"Connection Error 566-353-54354 - User busy"&lt;/LI&gt;&lt;LI&gt;"Matched with confidence: &lt;U&gt;&lt;STRONG&gt;100&lt;/STRONG&gt;&lt;/U&gt;%. Variables: Step1Choice1=Hello"&lt;/LI&gt;&lt;LI&gt;"No match. Confidence: &lt;STRONG&gt;&lt;U&gt;59&lt;/U&gt;&lt;/STRONG&gt;% is less than the required 80%"&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;NOTE: The bold underlined number is what I need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically, if a number is proceeded by "onfidence: " and followed by "%" I need to add it to its own column. I found a couple of ways to achieve this, but the result was I could no longer use a live connection with DirectQuery. As my database is beyond massive, import mode is not an option. Also due to circumstances, I am unable to parse in the database before connecting to Power BI.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, is there a way I can parse the required data from the column while staying in DirectQuery mode (possibly using a DAX query)? Or am I out of luck?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 04:39:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Parse-Existing-Column-in-DirectQuery-mode/m-p/143492#M61908</guid>
      <dc:creator>reno1</dc:creator>
      <dc:date>2017-03-16T04:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Parse Existing Column in DirectQuery mode</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Parse-Existing-Column-in-DirectQuery-mode/m-p/143568#M61944</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="23201" data-lia-user-login="reno1" class="lia-mention lia-mention-user"&gt;reno1&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you able to add calcualted columns to your tables? &amp;nbsp;If so this might be close&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Parsed Column = 
var myStart = FIND("onfidence:",'Table3'[Text],,0)
var myLength= FIND("%",Table3[Text],myStart + 11,0) - (myStart + 11)
var myResult = IF(myStart&amp;gt;0,MID('Table3'[Text],myStart + 11,myLength),Blank())
RETURN int(myResult) &lt;/PRE&gt;</description>
      <pubDate>Thu, 16 Mar 2017 07:33:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Parse-Existing-Column-in-DirectQuery-mode/m-p/143568#M61944</guid>
      <dc:creator>Phil_Seamark</dc:creator>
      <dc:date>2017-03-16T07:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: Parse Existing Column in DirectQuery mode</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Parse-Existing-Column-in-DirectQuery-mode/m-p/144022#M62127</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="3459" data-lia-user-login="Phil_Seamark" class="lia-mention lia-mention-user"&gt;Phil_Seamark&lt;/a&gt;, this works perfectly! Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 22:44:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Parse-Existing-Column-in-DirectQuery-mode/m-p/144022#M62127</guid>
      <dc:creator>reno1</dc:creator>
      <dc:date>2017-03-16T22:44:01Z</dc:date>
    </item>
  </channel>
</rss>

