Forum Discussion

RodrigoTXRA's avatar
RodrigoTXRA
Helper I
8 years ago
Solved

YTD performance

Hi All


I'm trying to replicate a calculation I have in excel into Power BI.

Long story short, I have a table which display what the performance is for each month (see screen shots) and a second column YTD where it displays the performance depending on the month.

 

i.e. If we had 100% in July and 120 % in August, then the YTD column would display 100% for July and 110% for August as August is the sum of July and August percentages divided by 2.

 

Then if it was september, it would be divided by 3 and so on.

 

I know how to create this calculation in Excel, but would any of you know how to do in Power BI?


See screen shots

11 Replies

    • RodrigoTXRA's avatar
      RodrigoTXRA
      Helper I

      Hi Parry

      Thanks for the quick reply, please find below the dataset.

      When i paste, the headers are deleted but it is as follows:

      Sales Rep | User ID | FY Appraisal Month | Appraisal Month % | YTD | Sort | Quarter

      Full NamexxxxxxxxxxxxxJul-18100.00%100.00%1Q1
      Full NamexxxxxxxxxxxxxAug-18120.00%110.00%2Q1
      Full NamexxxxxxxxxxxxxSep-18126.21%115.40%3Q1
      Full NamexxxxxxxxxxxxxOct-18120.00%116.55%4Q2
      Full NamexxxxxxxxxxxxxNov-18110.00%115.24%5Q2
      Full NamexxxxxxxxxxxxxDec-18120.00%116.04%6Q2
      Full NamexxxxxxxxxxxxxJan-19110.00%115.17%7Q3
      Full NamexxxxxxxxxxxxxFeb-19130.00%117.03%8Q3
      Full NamexxxxxxxxxxxxxMar-19110.00%116.25%9Q3
      Full NamexxxxxxxxxxxxxApr-19140.00%118.62%10Q4
      Full NamexxxxxxxxxxxxxMay-19137.00%120.29%11Q4
      Full NamexxxxxxxxxxxxxJun-19130.00%121.10%12Q4