KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Metrics panel dropdown #3137

Open Komuraiah A opened this topic on on Sep 6, 2023 - 1 comments

Komuraiah A commented on Sep 6, 2023

Hi Team, In Dashboard Metrics, I need a dropdown filter for all row metric date range. when I change the filter that triggers all the panel rows need to change. below am sharing screenshot

Sebastian Morales commented on Sep 7, 2023

You can put a Select widget at the top and attach event listener to it. In the event listener function you can call this javascript command to change any or all Cards' range:

function rangeChanged(e) {
    var select = e.target;
    var selectedRange = select.value; //This Quarter, Last Quarter, This Month, etc
    widgetAction('ValueCard1','rangeSelect',selectedRange);
    ...
}

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
help needed

Dashboard