There is no relation between these tables, but in the all the tables Used [Invoice Date] ...
I have created top customers report they are working fine on Invoice date, but i have created MTD using YrRollMonth with the Varible as vMthDt in Gross Margin (MTD Logic)..
They are Separately working fine with their filters, but I need to use Invoice date & Year as Filters, Is this possible can any one help me...
I am not sure what you are trying to achieve. Is it a sum of month to date? In this case you can create a flag for each transaction or in a calendar (AllInvoiceDate in your example).
In the script:
if(InMonthToDate([Invoice Date].today(),0),1,0) as Flag_MTD
Then in your expression in the chart you can use:
sum({<Flag_MTD={1}>} Value)
If you want to have a MTD value for any date in the history you should look into AsOf-calendar functions.
Best regards,
Morgan Kejerhag
Senior Business Intelligence Consultant, Drake Analytics