<?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: Convert HEX value to IP address in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Convert-HEX-value-to-IP-address/m-p/1015594#M636076</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For example the value 0A5C0A64 (10.92.10.100) have same IP (10.92.1.88) like the value '0A5C0158'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Apr 2016 11:20:10 GMT</pubDate>
    <dc:creator>realpixel</dc:creator>
    <dc:date>2016-04-12T11:20:10Z</dc:date>
    <item>
      <title>Convert HEX value to IP address</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-HEX-value-to-IP-address/m-p/1015590#M636072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On my chart, I have a column "SourceIP" with Hexadecimal value, like "0A5C0158", if I convert manualy this value to decimal I obtain 10.92.1.88 now I want to know if there are a possibility to convert all value in my chart from HEX to IP address, someone have an idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 10:05:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-HEX-value-to-IP-address/m-p/1015590#M636072</guid>
      <dc:creator>realpixel</dc:creator>
      <dc:date>2016-04-12T10:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: Convert HEX value to IP address</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-HEX-value-to-IP-address/m-p/1015591#M636073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Num(Num#(Left(Num(Num#('0A5C0158', '(HEX)'), '(BIN)'), Len(Num(Num#('0A5C0158', '(HEX)'), '(BIN)')) - 24), '(BIN)'))&amp;amp;'.'&amp;amp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; Num(Num#(Mid(Num(Num#('0A5C0158', '(HEX)'), '(BIN)'), Len(Num(Num#('0A5C0158', '(HEX)'), '(BIN)')) - 23, 8), '(BIN)'))&amp;amp;'.'&amp;amp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; Num(Num#(Mid(Num(Num#('0A5C0158', '(HEX)'), '(BIN)'), Len(Num(Num#('0A5C0158', '(HEX)'), '(BIN)')) - 15, 8), '(BIN)'))&amp;amp;'.'&amp;amp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; Num(Num#(Right(Num(Num#('0A5C0158', '(HEX)'), '(BIN)'), 8), '(BIN)'))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/121350_Capture.PNG" style="height: 214px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 10:29:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-HEX-value-to-IP-address/m-p/1015591#M636073</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-12T10:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Convert HEX value to IP address</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-HEX-value-to-IP-address/m-p/1015592#M636074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply but it's works only for value&amp;nbsp; '0A5C0158' but not for other value in my chart.&lt;/P&gt;&lt;P&gt;I have a column named "SourceIP" all value are in HEX and I want to convert there défirent value to IP addess.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 11:14:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-HEX-value-to-IP-address/m-p/1015592#M636074</guid>
      <dc:creator>realpixel</dc:creator>
      <dc:date>2016-04-12T11:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Convert HEX value to IP address</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-HEX-value-to-IP-address/m-p/1015593#M636075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share few other values for where it isn't working?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 11:16:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-HEX-value-to-IP-address/m-p/1015593#M636075</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-12T11:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: Convert HEX value to IP address</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-HEX-value-to-IP-address/m-p/1015594#M636076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For example the value 0A5C0A64 (10.92.10.100) have same IP (10.92.1.88) like the value '0A5C0158'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 11:20:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-HEX-value-to-IP-address/m-p/1015594#M636076</guid>
      <dc:creator>realpixel</dc:creator>
      <dc:date>2016-04-12T11:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: Convert HEX value to IP address</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-HEX-value-to-IP-address/m-p/1015595#M636077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what the issue is. It seem to work for both the values for me:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/121361_Capture.PNG" style="height: 200px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 11:22:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-HEX-value-to-IP-address/m-p/1015595#M636077</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-12T11:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Convert HEX value to IP address</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-HEX-value-to-IP-address/m-p/1015596#M636078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure where you are doing this, but replace all the red places with your new Hex Code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;=Num(Num#(Left(Num(Num#('&lt;SPAN style="color: #ff0000;"&gt;0A5C0158&lt;/SPAN&gt;', '(HEX)'), '(BIN)'), Len(Num(Num#('&lt;STRONG style="color: #ff0000; font-style: inherit; font-family: inherit;"&gt;0A5C0158&lt;/STRONG&gt;', '(HEX)'), '(BIN)')) - 24), '(BIN)'))&amp;amp;'.'&amp;amp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Num(Num#(Mid(Num(Num#('&lt;STRONG style="color: #ff0000; font-style: inherit; font-family: inherit;"&gt;0A5C0158&lt;/STRONG&gt;', '(HEX)'), '(BIN)'), Len(Num(Num#('&lt;STRONG style="color: #ff0000; font-style: inherit; font-family: inherit;"&gt;0A5C0158&lt;/STRONG&gt;', '(HEX)'), '(BIN)')) - 23, 8), '(BIN)'))&amp;amp;'.'&amp;amp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Num(Num#(Mid(Num(Num#('&lt;STRONG style="color: #ff0000; font-style: inherit; font-family: inherit;"&gt;0A5C0158&lt;/STRONG&gt;', '(HEX)'), '(BIN)'), Len(Num(Num#('&lt;STRONG style="color: #ff0000; font-style: inherit; font-family: inherit;"&gt;0A5C0158&lt;/STRONG&gt;', '(HEX)'), '(BIN)')) - 15, 8), '(BIN)'))&amp;amp;'.'&amp;amp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Num(Num#(Right(Num(Num#('&lt;STRONG style="color: #ff0000; font-style: inherit; font-family: inherit;"&gt;0A5C0158&lt;/STRONG&gt;', '(HEX)'), '(BIN)'), 8), '(BIN)'))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 11:23:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-HEX-value-to-IP-address/m-p/1015596#M636078</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-12T11:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: Convert HEX value to IP address</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-HEX-value-to-IP-address/m-p/1015597#M636079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, If I replace '0A5C0158' by '0A5C0A64' it's works but all value in my chart have the same IP address '10.92.10.100'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe the solution, it's to split the column "SourceIP" (AABBCCDD)&lt;/P&gt;&lt;P&gt;To have AA in new field like "HEXIP1"&lt;/P&gt;&lt;P&gt;BB in new field like "HEXIP2"&lt;/P&gt;&lt;P&gt;CC in new field like "HEXIP3"&lt;/P&gt;&lt;P&gt;DD in new field like "HEXIP4"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And after convert HEXIP1, HEXIP2, HEXIP3 and HEXIP4 from Hex to decimal to new other field as DECIP1, DECIP2, DECIP3, DECIP4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And to finish concatenate DECIP1+DECIP2+DECIP3+ECIP4 to have the final result&lt;/P&gt;&lt;P&gt;DECIP1.ECIP2.DECIP3.DCIP4&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 11:38:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-HEX-value-to-IP-address/m-p/1015597#M636079</guid>
      <dc:creator>realpixel</dc:creator>
      <dc:date>2016-04-12T11:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Convert HEX value to IP address</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-HEX-value-to-IP-address/m-p/1015598#M636080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You def. don't want to use static value in your chart, that was just an example. This is what you need:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;=Num(Num#(Left(Num(Num#(&lt;SPAN style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SourceIP&lt;/SPAN&gt;, '(HEX)'), '(BIN)'), Len(Num(Num#(&lt;SPAN style="; color: #ff0000; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;SourceIP&lt;/STRONG&gt;&lt;/SPAN&gt;, '(HEX)'), '(BIN)')) - 24), '(BIN)'))&amp;amp;'.'&amp;amp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Num(Num#(Mid(Num(Num#(&lt;STRONG style=": ; color: #ff0000; font-size: 13px; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SourceIP&lt;/STRONG&gt;, '(HEX)'), '(BIN)'), Len(Num(Num#(&lt;SPAN style="; color: #ff0000; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;SourceIP&lt;/STRONG&gt;&lt;/SPAN&gt;, '(HEX)'), '(BIN)')) - 23, 8), '(BIN)'))&amp;amp;'.'&amp;amp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Num(Num#(Mid(Num(Num#(&lt;SPAN style="; color: #ff0000; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;SourceIP&lt;/STRONG&gt;&lt;/SPAN&gt;, '(HEX)'), '(BIN)'), Len(Num(Num#(&lt;SPAN style="; color: #ff0000; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;SourceIP&lt;/STRONG&gt;&lt;/SPAN&gt;, '(HEX)'), '(BIN)')) - 15, 8), '(BIN)'))&amp;amp;'.'&amp;amp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Num(Num#(Right(Num(Num#(&lt;SPAN style="; color: #ff0000; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;SourceIP&lt;/STRONG&gt;&lt;/SPAN&gt;, '(HEX)'), '(BIN)'), 8), '(BIN)'))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 12:02:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-HEX-value-to-IP-address/m-p/1015598#M636080</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-12T12:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Convert HEX value to IP address</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-HEX-value-to-IP-address/m-p/1015599#M636081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great, thank you very much, it works &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 13:37:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-HEX-value-to-IP-address/m-p/1015599#M636081</guid>
      <dc:creator>realpixel</dc:creator>
      <dc:date>2016-04-12T13:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Convert HEX value to IP address</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-HEX-value-to-IP-address/m-p/1015600#M636082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;another solution could be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_212929_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/121837_QlikCommunity_Thread_212929_Pic1.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14608525827372149 jive_text_macro" jivemacro_uid="_14608525827372149"&gt;
&lt;P&gt;tabIP:&lt;/P&gt;
&lt;P&gt;LOAD *,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dual(Mod(HexNum&amp;gt;&amp;gt;24,256)&amp;amp;'.'&amp;amp;Mod(HexNum&amp;gt;&amp;gt;16,256)&amp;amp;'.'&amp;amp;Mod(HexNum&amp;gt;&amp;gt;8,256)&amp;amp;'.'&amp;amp;Mod(HexNum,256),HexNum) as IP;&lt;/P&gt;
&lt;P&gt;LOAD *,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Num#(HexTxt,'(HEX)') as HexNum&lt;/P&gt;
&lt;P&gt;Inline [&lt;/P&gt;
&lt;P&gt;HexTxt&lt;/P&gt;
&lt;P&gt;0A5C0158&lt;/P&gt;
&lt;P&gt;3F2CA86E&lt;/P&gt;
&lt;P&gt;7F000001&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Apr 2016 00:25:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-HEX-value-to-IP-address/m-p/1015600#M636082</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-04-17T00:25:21Z</dc:date>
    </item>
  </channel>
</rss>

