I have a report which has a drop down and some date fields to chose from and displaying the data as bar chart field.

I have a report which has a drop down and some date fields to chose from and displaying the data as bar chart field.For the first time on selecting any option from the drop down along with date range it is giving me a white blank screen. I have used with() function in the interface. Any thoughts from anyone on this issue?

OriginalPostID-216263

  Discussion posts and replies are publicly visible

Parents
  • Hello Jaishankarj, I am assuming the value which you are saving the dropdown value is passed in the query entity to fetch the filtered result.
    Since the code snipped is not complete, Can you please modify the code as mentioned below:
    load(
    local!v1:a!paginginfo(),
    with(
    local!table1:a!queryEntity(),
    local!table2:a!queryEntity(),
    local!datasubset:fn!todatasubset(union(local!table1.data,local!table2.data),local!paginginfo),
    {
    a!sectionLayout(<Start Date Time and End Date Time>),
    a!dropdownField(<Drop Down confiuguration>),
    a!sectionlayout(<>),
    if(rule!utils_checkisnull(local!datasubset.data), a!textField(label: "No Data", readOnly: true),a!barChartField(
    categories{<>},
    series:{<>}
    )
    )
    }
    )
    )

    Let me know your observation.
Reply
  • Hello Jaishankarj, I am assuming the value which you are saving the dropdown value is passed in the query entity to fetch the filtered result.
    Since the code snipped is not complete, Can you please modify the code as mentioned below:
    load(
    local!v1:a!paginginfo(),
    with(
    local!table1:a!queryEntity(),
    local!table2:a!queryEntity(),
    local!datasubset:fn!todatasubset(union(local!table1.data,local!table2.data),local!paginginfo),
    {
    a!sectionLayout(<Start Date Time and End Date Time>),
    a!dropdownField(<Drop Down confiuguration>),
    a!sectionlayout(<>),
    if(rule!utils_checkisnull(local!datasubset.data), a!textField(label: "No Data", readOnly: true),a!barChartField(
    categories{<>},
    series:{<>}
    )
    )
    }
    )
    )

    Let me know your observation.
Children
No Data