Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-3988

Weighted Average does not work on cube

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Invalid
    • v2.6.1
    • None
    • Driver - ODBC
    • None

    Description

      When we try to get aggregate over multiplication of 2 metrics it throws an error:

      That both of the two sides of the BinaryTupleExpression own columns is not supported for * while executing SQL: "select sum(riskscoreinitial*cyc_xxx_balanceAdb), cyc_xxx_cyclesdelinquent from fct_profit_table_monthly group by cyc_xxx_cyclesdelinquent LIMIT 50000"

       

      My query looks something like this :

       

      select sum(<Metric1>*<Metric2>), <dim1> from <table> group by <dim1>

      Any guidance will help

      Attachments

        Activity

          People

            Unassigned Unassigned
            anoop.krishnaswamy Anoop Krishnaswamy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: