如何在D365中针对产品类型,供应商和少量维度创建交叉表/矩阵报表

问题描述

我需要以传统方式在D365中开发交叉表或矩阵报表。 我必须设计一个报告,该报告根据供应商提供产品类型的数量,单价和金额的摘要。假定最佳设计是交叉表报告,其中的列显示产品类型和尺寸,行代表每个供应商。展示了一个小例子。

                         Column1                        Column2
                     Product Type 1                Product Type 2
                Qty | price per unit | Amount    Qty | price per unit | Amount 
 Row1  vendor1
 Row2  vendor2            

你们中的任何人都可以指导我如何开始获取D365报告中的上述“交叉”标签报告。 我不知道如何进行这份报告。提供的任何帮助将不胜感激。预先感谢。

解决方法

请您通过下面的链接,这将帮助您获得有关如何为D365创建SSRS报告的基本知识。您可以使用Matrix模板创建您提到的报告。

https://readyxrm.blog/2018/07/24/how-to-create-your-first-dynamics-365-ssrs-report/

我没有供应商实体,因此我在此示例中使用了QuoteDetails实体,因为它还具有多个产品。下面是我使用过的样本获取。

<fetch>
  <entity name="quote" >
    <attribute name="quoteid" />
    <attribute name="quotenumber" />
    <link-entity name="quotedetail" from="quoteid" to="quoteid" link-type="inner" alias="quotedetail" visible="true" >
      <attribute name="productname" />
      <attribute name="productidname" />
      <attribute name="producttypecode" />
      <attribute name="productnumber" />
    </link-entity>
  </entity>
</fetch>

此外,随附的是有关如何添加矩阵并按所需方式对其进行配置的gif文件。enter image description here

如果您认为答案有帮助,请标记为已验证。谢谢