I created a report with an Input Control for parameter "DateRange" with "DAY-1" as default.
I wrote the below code to access the report from past e.g. for 1st July. It is not giving any error, however it always displayed the report for "DAY-1". Pleaes do let me know, how I can I customize on the basis of Date.
var report = v.report({
resource: "/public/Performance_Report",
container: "#container",
params: { "DateRange": ["2014-07-01 00:00:00"] }, //{ "DateRange": ["2014-07-01"] },
error: function (err) {
alert("Visualize JS error: " + err.message);
}
Attachments:
How display the lable & input controls to get them on html page so that we can make it dynamic.