web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

View with sum of returned columns

(0) ShareShare
ReportReport
Posted on by 182
Hi everyone,
I hope I'm posting in the right place, if not, please let me know.
 
I have an optimization problem with my data entities to exploit them on PBI and would like to submit my idea to you.
 
I have two tables: InventItemPrice and BOMCalcTable. In InventItemPrice I have the cost prices of each items, and on my PBI, I'd like to display details of these calculations, which are in BOMCalcTrans. For example, I want to know the total of the RM and subcontracting costs per part. The problem is that doing this calculation with a measurement in PBI requires too much capacity.
 
So I'd like to create an InventItemPrice view with an additional column that would be the sum of the BOMCalcTrans rows corresponding to RM and subcontracting.
 
My first attempt seems unsuccessful. Here's the architecture with the Datasources:

But when I open the view via the table explorer, even though I haven't added any BOMCalcTrans fields and the relationship is in OneToOne, the InventItemPrice rows are still multiplied by the number of BOMCalcTrans rows returned by the relationship.
 
Hence my question: if I want to add to InventItemPrice the sum of several BOMCalcTrans lines returned by the relationship InventItemPrice.PriceCalcId = BOMCalcTrans.PriceCalcId, what's the best solution?
 
 
Thank you in advance for your advice.
I have the same question (0)
  • Suggested answer
    Waed Ayyad Profile Picture
    8,972 Super User 2025 Season 2 on at
    View with sum of returned columns
     Hi @JeanB,
     
     Why are you using DataAreaId on the relation? InventItemPrice and BOMCalcTable  tables aren't shared?
     
     
     
     
    Regards,
    Waed Ayyad
  • Suggested answer
    JeanB Profile Picture
    182 on at
    View with sum of returned columns
    Hello @Waed Ayyad
     
    I put DataAreaId in the relation because I saw it several times. Don't really know if it's necessary.
    Do you think it's useful?
     
    Thanks 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 1,922

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 1,922

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 835 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans