% between 2 grouping fields

  • well i have ds that get scrap qty From machin production(say cans).

    In RS i have group1=department,group2=machin(Each department there's machins).Each group i have a sum of the scrap=SUM(Fields!scrap.value).Now,i want 2 show the % between group2 and group1 how can i write this???It's the same syntax!?

     

  • Well i found solution:

    (Sum(Fields!scrap.value,"GroupName2")/Sum(Fields!scrap.value,"GroupName1"))*100

     

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply