cubeGrid facet

Hi
Can I add sum filelds to cubeGrid facets to make report? for example I want to add some input field such as “fromDate” and “toDate” to make cubeGrid report can I do it?
Can I make Date facet after determine these fields by user for example if user insert 01/01/2007 to 01/02/2007 Date facet overrided to

{
id:“transactiondate”,
title:“Date”,
isTree:true,
collapsed:true,
width:150,
values:[
{id:“sum”, title:“sum”, collapsed:false},
{id:“01/2007” ,parentId:“sum”, title:“01/2007”},
{id:“01/01/2007” ,parentId:“01/2007”, title:“01/01/2007”},..
{id:“02/2007” ,parentId:“sum”, title:“02/2007”},
{id:“01/02/2007” ,parentId:“02/2007”, title:“01/02/2007”},..
]

Thanks a lot

Sure - generate the CubeGrid and its facets on the fly after the user has entered the relevant date values.