Measures using Price that need to be calculated at a lower granularity before being summed

I have multiple measure in the report that use the individual price (valid for a product / month / company)

So
Sales value will be quantity * price
Expired stock will be quantity * price

These need to be calculated at each product / month / company and then summed

I have about 10 measures that come from 10 different fact tables that need to give a calculation basewd on using price.

Given all this is there a way in Dax to caluclate at the product / month / company level and then sum up iof required or do I need to add the price to the other tables. They are at the same granuarity.

Thanks
E

Hi @ells, we aim to consistently improve the topics being posted on the forum to help you in getting a strong solution faster. While waiting for a response, here are some tips so you can get the most out of the forum and other Enterprise DNA resources.

  • Use the forum search to discover if your query has been asked before by another member.
  • When posting a topic with formula make sure that it is correctly formatted to preformatted text </>.

image

  • Use the proper category that best describes your topic

  • Provide as much context to a question as possible.

  • Include the masked demo pbix file, images of the entire scenario you are dealing with, screenshot of the data model, details of how you want to visualize a result, and any other supporting links and details.

I also suggest that you check the forum guideline How To Use The Enterprise DNA Support Forum. Not adhering to it may sometimes cause delay in getting an answer.

Please also check the How To Mask Sensitive Data thread for some tips on how to mask your pbix file.

Hello @ells, we’ve noticed that no response has been received from you since Sept 22nd.

We are waiting for your masked demo pbix file and other supporting links and details. Other users can help you more if you have a PBIX file in your query.

Due to your inactivity, we’ll be tagging this post as Solved.

Should you wish to add your masked demo pbix file and other supporting links and details, you can reopen this thread.