Forum Discussion
Field Parameters in Matrix Sales Share Calculation
- 1 year ago
Hi robranieri , To provide a tailored solution for your specific issue, we need to review your data and details thoroughly, which requires access to your .pbix file. If sharing the .pbix file is not possible due to confidentiality, could you provide a sample file with fake data that closely matches your scenario and data? This will help us better understand and address the issue.
Thank you.
This did not work:
It also has to be ready to calculate for when mutliple options are selected, not just a single selected value from the Column parameters.
I think we're on the right track though!
Hi robranieri , Thank you for reaching out to the Microsoft Community Forum.
Please try below and share your thoughts.
DenominatorDynamic = CALCULATE([Sales], REMOVEFILTERS('ProductH'[Subcategory]),KEEPFILTERS(VALUES(ColumnParameter[ColumnParameter)
then just use:
SalesShare = DIVIDE([Sales], [DenominatorDynamic])