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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Mk60
Resolver I
Resolver I

Calculate Annualized Percentage by revising existing DAX Calculation

New to PBI and DAX. I am trying to revise my existing DAX calculation to accommodate for a simple annualization calculation, which we can simply achieve in excel. I assume there is a simple fix for this, but when I try to modify my existing calc I am getting this error: “The SUM function only accepts a column reference as an argument”?

Mk60_0-1712859479823.png

 

All I want is to get calculated values I have in column D, (see excel formula in cell D13 which can accommodate that), to replace my original DAX calculation values in column E, (which are not annualized by days in one quarter):

Mk60_1-1712859580062.png

 

Here’s my current DAX calculation I am using to get values in column E:

 QTD-BALANCE-2As%-Annualized =

    SUM(Query1[BALANCE-2])/CALCULATE(SUM(Query1[BALANCE-1]),

    ALL(Query1[BALANCE-1]))

 

Any suggestion would be much appreciated! Thanks in advance!

2 ACCEPTED SOLUTIONS
Mk60
Resolver I
Resolver I

Sorry, small correction: Correct Calculated Measure name for my My DAX for column E should be :NOT Annualized"

Mk60_0-1712860185222.png

 

View solution in original post

Hi Jayleny,

 

This works perfect! I found some temporary worjaround, but this is perfect, exactly what I wanted. Thank you so much for your time and willingness to help. Much apprecited! 

View solution in original post

4 REPLIES 4
v-jialongy-msft
Community Support
Community Support

Hi @Mk60 

 

Please try the following DAX:

 

NOT Annualized = 
DIVIDE(
    SUM(Query1[BALANCE-2])/92*365,
    CALCULATE(
        SUM(Query1[BALANCE-1]),
        ALL(Query1[BALANCE-1])
    )
)

 

 

 

 

 

Best Regards,

Jayleny

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I hope I am not bothering you, as I have another probably simple DAX question, hopefully you can help me with this one: What DAX calc could give me Quarter over Quarter change in dollars for Metrics 1-5 in column A, in this sample attached, to calculate and populate columns E & F:

Mk60_0-1712954709710.png

Thank you very much in advance, Jayleny!

Mk60
Resolver I
Resolver I

Sorry, small correction: Correct Calculated Measure name for my My DAX for column E should be :NOT Annualized"

Mk60_0-1712860185222.png

 

Hi Jayleny,

 

This works perfect! I found some temporary worjaround, but this is perfect, exactly what I wanted. Thank you so much for your time and willingness to help. Much apprecited! 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.