Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
HI friends i want to create a calendar based on date field but the problem is that date field contains only yyyy-mm.
That is because your fact table only has dates Mapped to the First Day of the months, where as the Calendar has all the Dates generated. If you want to match the subset ratio, you will have to delete all the other dates except the first of the month.
Since you will only have 24 rows (2014 to 2015 months) you can probably create an xls version of the Master Calendar and manually input data.
Hi,
Without date It might not be possible. if dates are there Master Calander concept will help you.
hi HARI
its a actual revenue data comes from a web based application monthly , so in date field date is not available is there any way to create calendar for i have to generate only quater month and financial year from this field.
Hi,
USe makedate() for creating date.
makedate(YEar,Month)
Regards
I have tried that option too
but its not working it creating problem while linking calendar and my table
use this,
Thanks shiva but i have to create a master calendar from it.
Ankith try this.
LOAD Sales,
Purchases,
[Gross Profit],
Overheads,
[Operating Profit],
[Other Expense],
[Other Income],
[Other Expense/Income],
[Net Income],
Month as date,
YEAR(Month) as Year,
Month(Month) as Months,
Num(Month(Month)) as MonthNumber,
'Q' & ceil(month(Month) / 3) as Quarter
FROM
(biff, embedded labels);
Try to load data into the QV without Null values
add in your Script:
if(Len(Month) > 0,Date(Month&'-01','YYYY/MM/DD'),Null()) as MonthDate
not working hari...