To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I need to group Initiatives together and calculate the ROI sum for each Parent Intiative. When calculating the ROI sum for a Parent Intiative, each unique Intiative (or unique ID) should only be included in the sum once.
For example,
Parent Initiative: IG BI Data Pulls. So the Initiatives are IG BI Data Pulls Phase 1 and IG BI Data Pulls Phase 2. So the ROI sum is 16375+29275= 45650.
Currently I'm using the following DAX:
Solved! Go to Solution.
Hi @aarushirc14 ,
Here I suggest you to create a measure by below code.
PI ROI Yr 1 = SUMX(SUMMARIZE('ROI Table','ROI Table'[Parent Intiative],'ROI Table'[ROI]),[ROI])
Sample:
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @aarushirc14 ,
Here I suggest you to create a measure by below code.
PI ROI Yr 1 = SUMX(SUMMARIZE('ROI Table','ROI Table'[Parent Intiative],'ROI Table'[ROI]),[ROI])
Sample:
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @aarushirc14
Please try
PI ROI Yr 1 =
SUMX (
VALUES ( 'ROI Table'[Parent Initiative] ),
CALCULATE ( MAX ( 'ROI Table'[ROI] ) )
)
Hi @aarushirc14
Please try
PI ROI Yr 1 =
SUMX (
VALUES ( 'ROI Table'[Parent Initiative] ),
CALCULATE ( MAX ( 'ROI Table'[ROI] ) )
)
i think you can create a new ROI column and use the new column to do the calculation
Column = 'Table'[ROI]/CALCULATE(COUNTROWS('Table'),ALLEXCEPT('Table','Table'[ID]))
Proud to be a Super User!