<?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 How to establish rules generally? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-establish-rules-generally/m-p/254175#M586005</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everybody.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table call [Crudo de Incidentes] that is compose for a lot equal tables inside, i need to use something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year ([Inicio de Afectacion|Inicio de la interrupcion de servicio])as Año,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Month([Inicio de Afectacion|Inicio de la interrupcion de servicio])as Mes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Day ([Inicio de Afectacion|Inicio de la interrupcion de servicio])as Dia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hour ([Inicio de Afectacion|Inicio de la interrupcion de servicio])as Hora,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i don´t want to use this in every table that i add to [Crudo de Incidentes], for this reason, How do i declare rule generally that involve all the tables in [Crudo de Incidentes] at the same time?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Aug 2011 21:31:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-08-05T21:31:43Z</dc:date>
    <item>
      <title>How to establish rules generally?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-establish-rules-generally/m-p/254175#M586005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everybody.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table call [Crudo de Incidentes] that is compose for a lot equal tables inside, i need to use something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year ([Inicio de Afectacion|Inicio de la interrupcion de servicio])as Año,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Month([Inicio de Afectacion|Inicio de la interrupcion de servicio])as Mes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Day ([Inicio de Afectacion|Inicio de la interrupcion de servicio])as Dia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hour ([Inicio de Afectacion|Inicio de la interrupcion de servicio])as Hora,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i don´t want to use this in every table that i add to [Crudo de Incidentes], for this reason, How do i declare rule generally that involve all the tables in [Crudo de Incidentes] at the same time?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 21:31:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-establish-rules-generally/m-p/254175#M586005</guid>
      <dc:creator />
      <dc:date>2011-08-05T21:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to establish rules generally?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-establish-rules-generally/m-p/254176#M586006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you're concatenating a bunch of tables with the same fields, and don't want to calculate Año, Mes, Dia and Hora over and over?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is usually handled with a Calendar table.&amp;nbsp; In this case, though, you'd still need to at least establish the Hora on the main table since you're dealing with timestamps instead of dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case, I might instead wait until [Crudo de Incidentes] has been fully loaded, and then left join the dates on at the end:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LEFT JOIN ([Crudo de Incidentes])&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LOAD the key field or fields to the table,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Year ([Inicio de Afectacion|Inicio de la interrupcion de servicio]) as Año,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Month([Inicio de Afectacion|Inicio de la interrupcion de servicio]) as Mes,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Day&amp;nbsp; ([Inicio de Afectacion|Inicio de la interrupcion de servicio]) as Dia,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Hour ([Inicio de Afectacion|Inicio de la interrupcion de servicio]) as Hora&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;RESIDENT [Crudo de Incidentes]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 22:11:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-establish-rules-generally/m-p/254176#M586006</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-08-05T22:11:45Z</dc:date>
    </item>
    <item>
      <title>How to establish rules generally?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-establish-rules-generally/m-p/254177#M586007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot again, It works.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 22:25:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-establish-rules-generally/m-p/254177#M586007</guid>
      <dc:creator />
      <dc:date>2011-08-05T22:25:08Z</dc:date>
    </item>
  </channel>
</rss>

