The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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! | |
User | Count |
---|---|
68 | |
63 | |
59 | |
54 | |
28 |
User | Count |
---|---|
183 | |
80 | |
62 | |
46 | |
38 |