<?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: MID and other Text functions randomly do unintentional capitalization in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MID-and-other-Text-functions-randomly-do-unintentional/m-p/3945227#M153313</link>
    <description>&lt;P&gt;Please remember that for the most part Power BI / DAX is NOT case sensitive.&amp;nbsp; If you have both&amp;nbsp; "52 Bikes"&amp;nbsp; and "40 BIKES"&amp;nbsp; in your data then the function will randomly pick one of the spellings when it forcibly groups the results.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can test that by simply creating a table like this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Table &lt;/SPAN&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;SPAN&gt; =&lt;/SPAN&gt;&lt;SPAN&gt; {{&lt;/SPAN&gt;&lt;SPAN&gt;"A"&lt;/SPAN&gt;&lt;SPAN&gt;},{&lt;/SPAN&gt;&lt;SPAN&gt;"a"&lt;/SPAN&gt;&lt;SPAN&gt;}}&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;and then putting the Value into a table visual&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;img /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note: Power Query is case sensitive.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 24 May 2024 01:18:22 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2024-05-24T01:18:22Z</dc:date>
    <item>
      <title>MID and other Text functions randomly do unintentional capitalization</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MID-and-other-Text-functions-randomly-do-unintentional/m-p/3944102#M153292</link>
      <description>&lt;P&gt;I added a simple custom column to a table. Using MID text function I get the values as of position 4 in the original column. An Example value could be "52 Bikes" which should lead to "Bikes".&lt;BR /&gt;&lt;BR /&gt;This works fine mostly, but in some cases I get a capitalized value "BIKES" instead. This seems pretty random, for some column values it even depends on the number of characters I get from the original value, so MID("52 Bikes", 4, 3) might lead to "BIK", but&amp;nbsp;MID("52 Bikes", 4, 5) becomes "Bikes". Is this intended behaviour and why??&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 13:42:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MID-and-other-Text-functions-randomly-do-unintentional/m-p/3944102#M153292</guid>
      <dc:creator>Stef76</dc:creator>
      <dc:date>2024-05-23T13:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: MID and other Text functions randomly do unintentional capitalization</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MID-and-other-Text-functions-randomly-do-unintentional/m-p/3945227#M153313</link>
      <description>&lt;P&gt;Please remember that for the most part Power BI / DAX is NOT case sensitive.&amp;nbsp; If you have both&amp;nbsp; "52 Bikes"&amp;nbsp; and "40 BIKES"&amp;nbsp; in your data then the function will randomly pick one of the spellings when it forcibly groups the results.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can test that by simply creating a table like this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Table &lt;/SPAN&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;SPAN&gt; =&lt;/SPAN&gt;&lt;SPAN&gt; {{&lt;/SPAN&gt;&lt;SPAN&gt;"A"&lt;/SPAN&gt;&lt;SPAN&gt;},{&lt;/SPAN&gt;&lt;SPAN&gt;"a"&lt;/SPAN&gt;&lt;SPAN&gt;}}&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;and then putting the Value into a table visual&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;img /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note: Power Query is case sensitive.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2024 01:18:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MID-and-other-Text-functions-randomly-do-unintentional/m-p/3945227#M153313</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-05-24T01:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: MID and other Text functions randomly do unintentional capitalization</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MID-and-other-Text-functions-randomly-do-unintentional/m-p/3992875#M154981</link>
      <description>&lt;P&gt;Thnx that makes sense in this context and I was able to solve by adding the column in the query.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 08:22:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MID-and-other-Text-functions-randomly-do-unintentional/m-p/3992875#M154981</guid>
      <dc:creator>Stef76</dc:creator>
      <dc:date>2024-06-14T08:22:23Z</dc:date>
    </item>
  </channel>
</rss>

