Forum Discussion
Herson
4 years agoRegular 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 bel...
- 4 years ago
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.
filipeoliveira
Helper I
4 years agoIf 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.
Herson
4 years agoRegular Visitor
Hi filipeoliveira,
Thanks for looking into the problem. It worked!
Laurence