Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
jnorth
Regular Visitor

YTD Percentage compared to previous Year

Hello Experts,

 

I've been having trouble calculating the growth percentage of my YTD totals compared to the same period last year. Both the "YTD Amount Converted" and "Total Sum of Converted LY" numbers and totals are showing correctly but as you can see the % is off. 

Marketing_Pipeline_-_Power_BI.jpg

 

 

For the "YTD Converted YOY%" I am using the following DAX formula. I am hoping you can help me with a different formula that would give the accurate % change between the Current YTD total vs. the same time period of the previous year.  

YTD (Converted) for all Opps YoY% =

 

              VAR __PREV_YEAR =

                             CALCULATE(

                                           [Amount (Converted) for all Opps],

                                           DATEADD('Opportunity'[CreatedDate].[Date], -1, YEAR)

                             )

              RETURN

                             DIVIDE([Amount (Converted) for all Opps] - __PREV_YEAR, __PREV_YEAR)

 

 

Thank you so much!

1 ACCEPTED SOLUTION

Thank you @v-yuezhe-msft 

 

Here is the formula I used to calculate [Amount (Converted) for all Opps]:

 

Amount (Converted) for all Opps =

CALCULATE(

              SUM(Opportunity[Amount (Converted)]),

              'Opportunity'[StageName (groups)] <>  "Closed Won"

)

 

For 2018, the value for [Amount (Converted) for all Opps] is showing as expected which is:

January: 1,773,951.25 
February: 859,270.97

March: 1,029,055.84

TotalYTD = 3,662,278.06

View solution in original post

2 REPLIES 2
v-yuezhe-msft
Employee
Employee

@jnorth,

What formula do you use to calculate [Amount (Converted) for all Opps]? What is your expected result about the total value of [Amount (Converted) for all Opps]?

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you @v-yuezhe-msft 

 

Here is the formula I used to calculate [Amount (Converted) for all Opps]:

 

Amount (Converted) for all Opps =

CALCULATE(

              SUM(Opportunity[Amount (Converted)]),

              'Opportunity'[StageName (groups)] <>  "Closed Won"

)

 

For 2018, the value for [Amount (Converted) for all Opps] is showing as expected which is:

January: 1,773,951.25 
February: 859,270.97

March: 1,029,055.84

TotalYTD = 3,662,278.06

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.