<?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 Dax Validation on  PAN Data in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Validation-on-PAN-Data/m-p/2290878#M56313</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Can any one help me to write Dax on Validation Of PAN no&amp;nbsp;&lt;/P&gt;&lt;P&gt;such as It should be 10 --using len()&lt;/P&gt;&lt;P&gt;Pan no consist of strings and Numbers(ie ABCDE1212Q)&lt;/P&gt;&lt;P&gt;first 5 will be string,the next 4 digit will be numbers and the last will be string.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jan 2022 11:02:40 GMT</pubDate>
    <dc:creator>PooBIDeveloper</dc:creator>
    <dc:date>2022-01-19T11:02:40Z</dc:date>
    <item>
      <title>Dax Validation on  PAN Data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Validation-on-PAN-Data/m-p/2290878#M56313</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Can any one help me to write Dax on Validation Of PAN no&amp;nbsp;&lt;/P&gt;&lt;P&gt;such as It should be 10 --using len()&lt;/P&gt;&lt;P&gt;Pan no consist of strings and Numbers(ie ABCDE1212Q)&lt;/P&gt;&lt;P&gt;first 5 will be string,the next 4 digit will be numbers and the last will be string.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 11:02:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Validation-on-PAN-Data/m-p/2290878#M56313</guid>
      <dc:creator>PooBIDeveloper</dc:creator>
      <dc:date>2022-01-19T11:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Validation on  PAN Data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Validation-on-PAN-Data/m-p/2291075#M56317</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I wouldn't really do this in DAX since it is not really efficient to test datatypes within a string. For LEN you can used LEN but for mixed datatype things become a bit tricky. You could split your column by lenght in PQ and test the datatypes out of these new columns.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 12:34:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Validation-on-PAN-Data/m-p/2291075#M56317</guid>
      <dc:creator>ValtteriN</dc:creator>
      <dc:date>2022-01-19T12:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Validation on  PAN Data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Validation-on-PAN-Data/m-p/2291523#M56334</link>
      <description>&lt;P&gt;I agree with&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="343431" data-lia-user-login="ValtteriN" class="lia-mention lia-mention-user"&gt;ValtteriN&lt;/a&gt;.&amp;nbsp;This is&amp;nbsp;&lt;EM&gt;possible&lt;/EM&gt; in DAX but doing it in the query editor instead is much easier, especially if you use &lt;A href="https://www.thebiccountant.com/2018/04/25/regex-in-power-bi-and-power-query-in-excel-with-java-script/" target="_self"&gt;RegEx&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 16:13:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Validation-on-PAN-Data/m-p/2291523#M56334</guid>
      <dc:creator>AlexisOlson</dc:creator>
      <dc:date>2022-01-19T16:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Validation on  PAN Data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Validation-on-PAN-Data/m-p/2292525#M56408</link>
      <description>&lt;P&gt;ok ValtteriN&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2022 04:05:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Validation-on-PAN-Data/m-p/2292525#M56408</guid>
      <dc:creator>PooBIDeveloper</dc:creator>
      <dc:date>2022-01-20T04:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Validation on  PAN Data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Validation-on-PAN-Data/m-p/2327120#M58314</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="345879" data-lia-user-login="PooBIDeveloper" class="lia-mention lia-mention-user"&gt;PooBIDeveloper&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Has your problem been solved? If it is solved, please mark a reply which is helpful to you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Winniz&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 04:23:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Validation-on-PAN-Data/m-p/2327120#M58314</guid>
      <dc:creator>v-kkf-msft</dc:creator>
      <dc:date>2022-02-09T04:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Validation on  PAN Data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Validation-on-PAN-Data/m-p/2336368#M58868</link>
      <description>&lt;P&gt;Hi...&lt;/P&gt;&lt;P&gt;I have tried the below dax but its shows only output as Invalid ..&lt;/P&gt;&lt;P&gt;pan_val =&lt;BR /&gt;VAR _Condition =&lt;BR /&gt;(master_customer[LenPan] &amp;lt;= 10)&lt;BR /&gt;&amp;amp;&amp;amp; ISTEXT ( master_customer[First Characters] )&lt;BR /&gt;&amp;amp;&amp;amp; ISTEXT ( master_customer[Last Characters] )&lt;BR /&gt;&amp;amp;&amp;amp; ISNUMBER ( master_customer[Text Range] )&lt;BR /&gt;RETURN&lt;BR /&gt;IF ( _Condition, "Valid", "Invalid" )&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 09:13:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Validation-on-PAN-Data/m-p/2336368#M58868</guid>
      <dc:creator>PooBIDeveloper</dc:creator>
      <dc:date>2022-02-14T09:13:01Z</dc:date>
    </item>
  </channel>
</rss>

