Forum Discussion
Subtract one column value to each column values in same row
- Anonymous2 years ago
Hi ShyamS
Given that I don't understand the structure of your specific data, I can only give you some suggestions that might be useful:
Maybe you can change your measure into this:
GTN % GS ~ = VAR A = [GTN % GS] VAR CurrentDate = MAX ( CV_GMR_PL_APAC_REPORT[Year] ) VAR B = CALCULATE ( [GTN % GS], CV_GMR_PL_APAC_REPORTING[Year] = YEAR ( CurrenDate ), CV_GMR_PL_APAC_REPORTING[Scenario] = "ACTUAL" ) VAR C = ( ( A - B ) * 10000 ) RETURN CHope it helps,
Best Regards
Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Anonymous ,
Need your guidance on above query.
Thank you in advance for your help and guidance.
- Anonymous2 years agoNot applicable
Hi ShyamS
Given that I don't understand the structure of your specific data, I can only give you some suggestions that might be useful:
Maybe you can change your measure into this:
GTN % GS ~ = VAR A = [GTN % GS] VAR CurrentDate = MAX ( CV_GMR_PL_APAC_REPORT[Year] ) VAR B = CALCULATE ( [GTN % GS], CV_GMR_PL_APAC_REPORTING[Year] = YEAR ( CurrenDate ), CV_GMR_PL_APAC_REPORTING[Scenario] = "ACTUAL" ) VAR C = ( ( A - B ) * 10000 ) RETURN CHope it helps,
Best Regards
Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.