Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
satishqlik
Creator II
Creator II

Suggest

Hi,

Please suggest on my scenario.

load

data2

from<>

Left Join(Data3)

Load Distinct *,Dual(Cal_Year-1 &'/'& Cal_Year, Cal_Year) as FYear,       

         Dual(Month, fMonth) as Cal_Month,

         Dual('Q' & Ceil(fMonth/3), Ceil(fMonth/3))as Cal_Quarter;

LOAD Distinct*,Year + If(Month>=$(vFiscalYearStartMonth), 1, 0) as Cal_Year,

Mod(Month-$(vFiscalYearStartMonth), 12)+1 as fMonth;

LOAD Year([Month-Yr]) as Year,

  Month([Month-Yr]) as Month,

     Category,

     0 as [Training Days (in week)],

     num([Total Revenue (in lakhs)]*100000) as [Total Revenue],

     num([Revenue per HC (in Lakhs)]*100000) as [Average Revenue],

     num([Recruitment Cost per month]*100000) as [Recruitment Cost],

     [Average Annual CTC per head(in Lakhs, Billable & nonBillable)] as [Annual CTC],

     HC as Revenue_HC,

     [CTC Variance],

     [Salary Cost]

 

FROM

<>;

I have showed dashboard as per categories wise.

Now I have recieved another table with subcategory field with partial sums

i.e.,Category of value=4SubCategories of values(100=25+25+25+25)

I want to show dashboard as it is even after load the subcategory table.

But If I load subcategory table values are not matching.

Any ideas???

1 Solution

Accepted Solutions
avinashelite

Identifier is a hard coded value which I had given in '' single quotes in order to identify from which table the data is coming . What you have made is wrong it will take column values as the identifier which will not help us to identify from which table the data is coming ...I did this because after the join we will be not able to check from which table the data is coming .

Hope this helps you to close the thread

View solution in original post

33 Replies
satishqlik
Creator II
Creator II
Author

How to load subcategory table in this situation???

Please help

prma7799
Master III
Master III

Please share sample data

avinashelite

Share the sample app with the data so that it will be helpful for us to understand the issue

satishqlik
Creator II
Creator II
Author

Hi Avinash,

I have shared my dummy data kindly look at

avinashelite

You have the table1 with aggr count and another table with detail data so you could calculate the aggr from details table rite ? why you need aggr table ? if you still want both the tables join the tables that should resolve the issue

satishqlik
Creator II
Creator II
Author

If I use join then sum and avg results are not coming what exactly am looking for ....

avinashelite

could you show me the sample output your excepting

satishqlik
Creator II
Creator II
Author

If I have 2 tables(process and sub process)

This is what am looking for

  

processSub ProcessMonthYrSum(value1)
clientAa101-Feb-1725
clientAa201-Feb-1725
clientAa301-Feb-1725
clientAa401-Feb-1725
clientAa101-Mar-1750
clientAa201-Mar-1750
clientAa301-Mar-1750
clientAa401-Mar-1750
total300
avinashelite

Some thing like the attached ?