<?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 Loops in dimensions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loops-in-dimensions/m-p/365313#M704845</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing a problem to resolve a loop. I have created two qvw to explain my problem. I have following entities in my database:&lt;/P&gt;&lt;P&gt;Hospital&lt;/P&gt;&lt;P&gt;Brand: Which are known as drugs.&lt;/P&gt;&lt;P&gt;TA: Therapeutic Area, One therapeutic Area can have multiple drugs but one drug have only one TA&lt;/P&gt;&lt;P&gt;Access: Users have access to limited hospitals&lt;/P&gt;&lt;P&gt;Direct Sales: Sales of a Drug (Brand) through a hospital&lt;/P&gt;&lt;P&gt;MAT: Moving anual total for a drug and a hospital&lt;/P&gt;&lt;P&gt;Donation: A hospital is given some amount of donation for a TA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in first qvw, a synthetic table is being created which i have removed in second qvw by manually creating link table between brand and hospital.&lt;/P&gt;&lt;P&gt;The only problem which I was not able to solve is the loop which is getting created between hospital, TA, Donation and Brand as I have to analyze Donation amount by Hospital and TA. Currently the chart it is giving correct result but I don't know when loosly coupled table will start giving wrong results.&lt;/P&gt;&lt;P&gt;I have also attached the table viewer images for those who cannot open the qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I am able to explain my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anosh Nathaniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Mar 2012 15:59:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-03-22T15:59:28Z</dc:date>
    <item>
      <title>Loops in dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Loops-in-dimensions/m-p/365313#M704845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing a problem to resolve a loop. I have created two qvw to explain my problem. I have following entities in my database:&lt;/P&gt;&lt;P&gt;Hospital&lt;/P&gt;&lt;P&gt;Brand: Which are known as drugs.&lt;/P&gt;&lt;P&gt;TA: Therapeutic Area, One therapeutic Area can have multiple drugs but one drug have only one TA&lt;/P&gt;&lt;P&gt;Access: Users have access to limited hospitals&lt;/P&gt;&lt;P&gt;Direct Sales: Sales of a Drug (Brand) through a hospital&lt;/P&gt;&lt;P&gt;MAT: Moving anual total for a drug and a hospital&lt;/P&gt;&lt;P&gt;Donation: A hospital is given some amount of donation for a TA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in first qvw, a synthetic table is being created which i have removed in second qvw by manually creating link table between brand and hospital.&lt;/P&gt;&lt;P&gt;The only problem which I was not able to solve is the loop which is getting created between hospital, TA, Donation and Brand as I have to analyze Donation amount by Hospital and TA. Currently the chart it is giving correct result but I don't know when loosly coupled table will start giving wrong results.&lt;/P&gt;&lt;P&gt;I have also attached the table viewer images for those who cannot open the qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I am able to explain my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anosh Nathaniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2012 15:59:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loops-in-dimensions/m-p/365313#M704845</guid>
      <dc:creator />
      <dc:date>2012-03-22T15:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Loops in dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Loops-in-dimensions/m-p/365314#M704846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I consulted with my friend and found a solution for the above loop issue in which we have created Hospital-Brand-TA link table and all other table are joined through this link table. Attached is the solution qvw. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;SPAN style="font-size: 9pt; color: #1f497d;"&gt;But now the problem is if I don’t get &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black;"&gt;HospBrandLink&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: #1f497d;"&gt; table from db I need to generate it manually so that I can create ‘Link’ table. Hospital brand relationship is present in multiple tables like Direct Sales, MAT etc… I need to take all these table into consideration and need to find all possible combination of hospital – brand ids present in db.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: #1f497d; font-family: arial,helvetica,sans-serif;"&gt;Am I thinking in correct direction and Is this solution correct?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: #1f497d; font-family: arial,helvetica,sans-serif;"&gt;Thanks in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: #1f497d; font-family: arial,helvetica,sans-serif;"&gt;Anosh Nathaniel&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2012 07:53:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loops-in-dimensions/m-p/365314#M704846</guid>
      <dc:creator />
      <dc:date>2012-04-04T07:53:14Z</dc:date>
    </item>
  </channel>
</rss>

