10 Replies Latest reply: Jul 31, 2013 7:17 AM by Sandeep Hamelink RSS

    Expression within expression in stead of a hard value

    Sandeep Hamelink

      Dear QV-Users

       

      I have this expression

       

      num

      (

      sum({<

      TaakSchaalscore.tss_taa_score =

      {
      "= TaakSchaalscore.tss_taa_score = 40"}

          >}

        
      TaakSchaalscore.tss_schaalscore)

      ,'#.##0')

       

       

      It's result is 52

       

      I would like to use this expression

       

      num

      (

      sum({<

      TaakSchaalscore.tss_taa_score =

      {
      "= TaakSchaalscore.tss_taa_score = aggr(max(toetsResultaat.score),Inspectiesleutel)"}

          >}

        
      TaakSchaalscore.tss_schaalscore)

      ,'#.##0')

       

      This expression gives also 52 as result, BUT you have to make sure you selected TaakSchaalscore.tss_taa_score = 40

       

       

      aggr(max(toetsResultaat.score),Inspectiesleutel) <-- this expression gives 40 as result in this case.

      as you can see i tried to use it within the expression above. It works, but i would like to make it work WITHOUT making a

      selection in TaakSchaalscore.tss_taa_score

       

      Help please