Forum Discussion
IloveTigray
2 years agoNew Member
How to display calculated measure using year in Table?
I am facing a problem to show calculated values on yearly bases. totalSupport TY = CALCULATE(SUM(Support[totalCost])) totalSupport LY = CALCULATE(sum(Support[totalCost]),PREVIOUSYEAR(Support[com...
Anonymous
2 years agoNot applicable
Hi IloveTigray ,
According to your description, here are my steps you can follow as a solution.
(1) This is my test data.
(2) We can create measures.
totalSupport LY = CALCULATE(SUM('Support'[totalCost]),FILTER(ALL('Support'),YEAR('Support'[completionDate])=YEAR(MAX('Support'[completionDate]))-1))supportParallel = SUMX(VALUES('Support'[completionDate].[Year]),[totalSupport LY])
(3) Then the result is as follows.
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.