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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Herson
Regular Visitor

How to calculate Annualization In Dax? Help needed!

Hi,

I am having trouble calculate Annualized Return on Assets.
The expected calculation is Earning/Asset*(Selected Month/12).
There are two tables: Date Table and Pivoted Financial table shown below.

Date Table.png

Pivoted Financial Table.png


What I hope to achieve is having a dax calcualtion where I could select any given month period the
(Selected month) in the bracket will change accordingly.
ROA(KPI) = [AA_400000]/(Selected month)*12/[AA_500000]

I wonder how this could be done in the dax formula? The output will be a percentage figure.

1 ACCEPTED SOLUTION

If the two tables are related by Date, you can use something like:

 

ROA(KPI) = 
VAR SELECTED_MONTH = MONTH(SELECTEDVALUE(DATE_TABLE[DATE]))

RETURN

[AA_400000]/SELECTED_MONTH*12/[AA_500000]

 

Note that it will only work in a table visual.

View solution in original post

2 REPLIES 2

If the two tables are related by Date, you can use something like:

 

ROA(KPI) = 
VAR SELECTED_MONTH = MONTH(SELECTEDVALUE(DATE_TABLE[DATE]))

RETURN

[AA_400000]/SELECTED_MONTH*12/[AA_500000]

 

Note that it will only work in a table visual.

Hi filipeoliveira,

 

Thanks for looking into the problem. It worked!

 

Laurence

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.