March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
Register NowGet certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
Hello,
I need help how to add the overall total of all Name (or Project). I have here a formula wherein it will only shows the total per Name (Project), per _Current PM Contact and per _Jobphase. I have a hard time what formula to insert here to get the overall total amount of all Name (Project).
Rev Recog =
VAR _project = [Est Rev] * [% Comp]
VAR _total =
SUMX ( ALLSELECTED ( msdyn_project[Name] ), [Est Rev] * [% Comp] )
VAR _total2 =
SUMX ( ALLSELECTED ( msdyn_project[Name] ), [Est Rev] * [% Comp] )
RETURN
IF (
ISINSCOPE ( msdyn_project[Name] ),
_project,
IF ( ISINSCOPE (msdyn_project[_CurrentPM contact] ),
_total,
IF ( ISINSCOPE (msdyn_project[_JobPhase] ),
_total2)
))
Hope you will help me on this.
Thank you so much.
Solved! Go to Solution.
Hi @juhoneyighot - create a below measure to get the overall total amount of all projects (or names) in your calculation
Measure:
Rev Recog =
VAR _project = [Est Rev] * [% Comp]
VAR _total =
SUMX (
ALLSELECTED ( msdyn_project[Name] ),
[Est Rev] * [% Comp]
)
VAR _total2 =
SUMX (
ALLSELECTED ( msdyn_project[Name] ),
[Est Rev] * [% Comp]
)
VAR _overallTotal =
SUMX (
ALL ( msdyn_project[Name] ),
[Est Rev] * [% Comp]
)
RETURN
IF (
ISINSCOPE ( msdyn_project[Name] ),
_project,
IF (
ISINSCOPE ( msdyn_project[_CurrentPM contact] ),
_total,
IF (
ISINSCOPE ( msdyn_project[_JobPhase] ),
_total2,
_overallTotal
)
)
)
Hope it works
Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
Proud to be a Super User! | |
Hi @juhoneyighot - create a below measure to get the overall total amount of all projects (or names) in your calculation
Measure:
Rev Recog =
VAR _project = [Est Rev] * [% Comp]
VAR _total =
SUMX (
ALLSELECTED ( msdyn_project[Name] ),
[Est Rev] * [% Comp]
)
VAR _total2 =
SUMX (
ALLSELECTED ( msdyn_project[Name] ),
[Est Rev] * [% Comp]
)
VAR _overallTotal =
SUMX (
ALL ( msdyn_project[Name] ),
[Est Rev] * [% Comp]
)
RETURN
IF (
ISINSCOPE ( msdyn_project[Name] ),
_project,
IF (
ISINSCOPE ( msdyn_project[_CurrentPM contact] ),
_total,
IF (
ISINSCOPE ( msdyn_project[_JobPhase] ),
_total2,
_overallTotal
)
)
)
Hope it works
Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
Proud to be a Super User! | |
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
Check out the November 2024 Power BI update to learn about new features.
User | Count |
---|---|
121 | |
99 | |
88 | |
70 | |
61 |
User | Count |
---|---|
142 | |
122 | |
105 | |
94 | |
90 |