Dynamic selection on query report

Hi ,

Have anyone ever done dynamic selection on query report.

i have tried to set “fieldtype” : select but it didnt work, only dynamic link is read and goes into my frappe call.

Any input is really appreciated.Thanks

Hi @naim5441 I guess that you can try something like this:

“label”: __(“Group By”),
“fieldtype”: “Select”,
“options”: [
{ “value”: “Item”, “label”: __(“Item”) },
{ “value”: “Customer”, “label”: __(“Customer”) }
“default”: “”

Or the get_query.

Options not option (plural).

Oh…wow that’s an good thing to that at least you have tried it. Yes, thanks for sharing the code yes this code is working.