Personalized Community is here!
Quickly customize your community to find the content you seek.
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2020 Release Wave 2Discover the latest updates and new features to Dynamics 365 planned through March 2021.
Release overview guides and videos Release Plan | Preview 2020 Release Wave 2 TimelineWatch the 2020 Release Wave 1 virtual launch event
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
All the fields show on the report which are stored in the GroupID and it based on how I code.Example: Net Profit Amount this field exist because of it based on the code.
//Net Profit Amount
while select sum(BOMCalcCostPricePcs) from itemPlannedCostSumTmp
group by VersionId,
where itemPlannedCostSumTmp.CostGroupId != 'DirectLAB' && itemPlannedCostSumTmp.CostGroupId != 'DirectOHD' && itemPlannedCostSumTmp.CostGroupId != 'Material'
&& itemPlannedCostSumTmp.CostGroupId != 'Packing' && itemPlannedCostSumTmp.CostGroupId != 'Total cost' && itemPlannedCostSumTmp.CostGroupId != 'Up_l'
&& itemPlannedCostSumTmp.CostGroupId != 'Up_kg' && itemPlannedCostSumTmp.CostGroupId != 'Margin'
&& itemPlannedCostSumTmp.CostGroupId != 'Production cost' && itemPlannedCostSumTmp.CostGroupId != 'Est.price'
variableCost = itemPlannedCostSumTmp.BOMCalcCostPricePcs;
itemPlannedCostSumTmp.CostGroupId = 'Net profit';
itemPlannedCostSumTmp.CostGroupName = 'Net Profit Amount';
itemPlannedCostSumTmp.Priority = 400;
itemPlannedCostSumTmp.BOMCalcCostPricePcs = decRound(netProfitAmount,2);
This is the Net Profit Amount if I delete the above portion. It will becomes like this
This is just the concept for you all and how I do. For now, How am I going to do calculation like EST Sales Price - Total cost - Variable cost = Net Profit Amount Based on the groupIDI can't do like myTable.EST Sales Price - myTableTotal cost - myTable.Variable cost = myTable.Net Profit Amount because it based on GroupID not it's own field
I am wondering why you try to make such calculations through a system modification / new report?
I would suspect that your managers will need additional information and want to group, slice and dice the data.
For that purpose, using the cubes or Power BI is much better suited.
Have you thought about using cubes/PowerBI as an alternative?
@Ludwig I do not know how to use Power BI nor Cubes. And one of colleague he suggested me to use Container. but How am i supposed to use it
@Ludwig do u know how to use container to keep the calculation formula for each
Business Applications communities