Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
panipat1990
Creator II
Creator II

MONTHLY TREND CALCULATION

Dear Team,

I stuck a requirement.I have a data from Last Two years. And i want to make monthly trend report in straight table One to one expression. For this i make a result format below.

IDCMCM-1CM-2CM-3CM-4CM-5CM-6CM-7CM-8CM-9CM-10CM-11CM-12CM-13CM-14

Each Month's Column Data Should be On Max Date..Suppose in one Month 4 Dates exists Like In Feb Month 22 Feb,23 Feb,24 Feb.

In CM-1's Column data only 24 feb means each month's maximum date..same like previous month..


For this i am sharing data ..In Each Column  data exists only maximum date. And Second Sheet Result As required

3 Replies
panipat1990
Creator II
Creator II
Author

Still be Waiting

mdmukramali
Specialist III
Specialist III

Hi Gourav,

Data:

LOAD Date(Date,'DD/MM/YYYY') as Date,

MonthName(Date) as MonthYear,

     Sale,

     ID

FROM

(ooxml, embedded labels, table is Data);

Join(Data)

LOAD MonthYear,

  Max(Date) as Date,  1 as Flag

Resident Data

Group By MonthYear;

NoConcatenate

LOAD *

Resident Data

Where Flag=1;

DROP Table Data;

panipat1990
Creator II
Creator II
Author

i want to create in Only in straight table Using 15 expression.