Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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.
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.
Solved! Go to 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.
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
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 17 | |
| 9 | |
| 8 | |
| 7 |