Getting Started with ASP.NET MVC - Part 5: How to do programming with razor syntax
First Time? You can support us by signing up. It takes only 5 seconds. Click here to sign up. If you already have an account, click here to login.
Loading

Ask in the public forum

Ask your questions in a public forum

My Blog Posts

  • SSRS Monthly % variance

    Hello:

    I need your help please immediately. I'm using SSRS 2008 R2.

    I've created a Matrix group monthly summary report based on Area. I want to calculate % variance for a month by comparing with previous month total. First month being the base month, so there won't be any % variance.

    Here is report sample:


                           Month
    

    ===================================

    Area Jan Feb % Mar % Apr %

    =======================================

    A 200 50 -75% 100 50% 80 -20%

    ========================================

    Please let me know how to accomplish this easily without much hardcoded programming.

    thanks

    Tiruvazhi

    Tiruvazhi
    1202 · 0% · 10

5  Replies  

Subscribe to Notifications
  • Thanks Robert for the information.

    But it didn't solve my problem.

    I just want a simple formula to calculate variance in SSRS between monthly totals.

    Please help.

    thanks Tiruvazhi

    Tiruvazhi
    1202 · 0% · 10
  • The variance is computed as the average squared deviation of each number from its mean. For example, for the numbers(months) 1, 2, and 3, the mean is 2(2nd month) and μ is the mean(mid month val) and N is the number of months.

    The formula (in summation notation) for the variance in a population is

     =(SQUARE(Month(Fields!DateValue.Value)-AVG(Month(Fields!DateValue.Value)))))/SUM(Month(Fields!DateValue.Value))
    
    Robert Dennyson
    17 · 11% · 2563
  • Robert:

    I'm sorry for the confusion. It's NOT the variance as a function.

    I just want to calculate the % difference between monthly totals. For example when compare to January total how much February total is variant....

    please provide a formula for that ....thanks...

    Tiruvazhi
    1202 · 0% · 10

Your Reply


Sign Up or Login to post an answer.

Managed Windows Shared Hosting by OrcsWeb

Copyright © Beyondrelational.com