Discussion board where members can get started with Qlik Sense.
I am having some trouble trying to group fields by month/year. My end result is still bringing in day DDMMMYYYY but I only want the data grouped by MMMYYYY.
Data Load Editor:
LOAD Only(DATE([Created],'MMMYYY')) as StockDate2,
sum(TotalQty) as Receipted2,
sum([Length])/2.54 as Length,
sum([Width])/2.54 as Width,
sum([Height])/2.54 as Height
Resident [L2-LocationInventory] group by CustID, Location, (DATE([Created],'MMMYYY'));
For this data I am using a table to display my results:
Would be grateful for any assistance.
Go to Solution.
LOAD text(DATE([Created],'MMMYYY')) as StockDate2,
Resident [L2-LocationInventory] group by CustID, Location, text(DATE([Created],'MMMYYY'));
Even if you covert the date using date format, Qlik will store original date as value so it will not work for aggregation (Like Excel only outside format will be changed but not value).
Can you attach sample data file.
I have attached an Excel file with sample data, is this OK?
MonthName(Created) as YearMonth,
(ooxml, embedded labels, table is DATA);
Sum(Length) as TotalLength,
Sum(Width) as TotalWidth,
Sum(Height) as TotalHeight
Group by YearMonth,CustID,Location;
DROP Table Data;
Kindly find the attached Sample Application.