问题标签 [olap-cube]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
ssas - 参考尺寸不好吗?
我对 OLAP 和 SSAS 相当陌生,但在关系数据仓库方面经验丰富,我对参考维度的问题是它们是坏的、必要的邪恶,还是在正确使用时有用?每一篇文章我都能找到参考 Andventure Works 和地理维度,但我正在寻找真实世界的经验。
我的多维数据集有一个非常标准的日期维度,我想创建一个日期指标 REFERENCE 维度,该维度具有我的日期维度的 FK DateId。在此 Date Metrics 参考维度中,我将为 AccountId 添加一个成员和几个“Action”成员,以总结我想要按日期、月份或年份等计算的特定操作。
从根本上讲,我的日期度量参考将是 DateID 和 AccountId 上的唯一,这将使我能够通过我试图将其关联回的日期维度来总结“动作”运动。
我错了吗?
ssas - SQL OLAP Cube and dimension
In a windows Server 2008, using SQL server 2005, Visual Studio and SQL Server Analysis Services i created an OLAP Cube.
The scenario is a typical store with sell products, customer and agents.
The cube is made by a fact table tblVendite (sell data) and dimensions based on sql views.
NOTE: I tried embed the screenshot here but they will resized and will not clear so i posted them in a safe site to view it:
SCREENSHOT: stucture of the cube
- FACT TABLE tblVendite (sell) > PK: CdArticolo (IDProduct)
- DIMENSION Prodotti (produtcs)
- DIMENSION Calendario (calendar)
- DIMENSION Agenti (agents)
- DIMENSION Clienti (customer)
Browsing the cube with basic filters as calendar, customer/agent, products, brand ... all work fine
Now i need to provide a new feature as: Comparing the "top sell brand" of all company with the sell of each agent to see how he sell those brand
So i did a new table and the related view: vwMarcheOrd
(top sell brand)
The table top sell brand is pre-populated by a sp
and contain 1 record for each brand (CdMarca
- Position
- Description
order by Position)
NOTE: from vwMarcheOrd
i cant have direct link to the fact table because the PK is CdMarca
and it's not present so i need to "bridge" the view Products by CdMarca
and get the CdArticolo
to link the fact table
Dimension and the attributes for Brand
and Top Brand
:
BROWSE THE CUBE AND THE PROBLEM
Adding the dimension Brand
(1) to the row fields the result is correct but if i add the Top Brand
(2) is incorrect and many brand are missing (but they exist)
So my questions are 2:
- What i missing or wrong or misunderstand with the
Top Brand
Dimension ? How i can display all records
of Top Brand in the row fields even if the agent didnt sell any item of that brand (blank row) ?
p.s. i tried also make a dimension based only with vMarcheOrd and then create a Referenced Relationship with the Product table to bridge CdMarca > CdArticolo > Fact Table but the result are the same
Thanks in advance who can really help me to solve this problem that block me since many days
relational-database - 是什么让访问 OLAP 多维数据集/数据集市和类似数据结构比访问关系数据库更快?
是什么让访问 OLAP 多维数据集/数据集市和类似数据结构比访问关系数据库更快?
编辑
将尽快提供 200 的赏金。
ssas - 维度中的自定义间隔
我在这里寻找关于最佳实践的建议。
我有一个要求,在给定的一天,我必须有任意数量的间隔(想想由事务组成的时间桶),我每天最多可以有 N 个间隔。这些间隔类似于时间,但可以是任意长度,即有些是秒,有些是分钟。
间隔应该如何形成取决于我的源数据。在任何一天,我们总是从间隔 1 开始,并且不知道 EOD 将拥有的间隔总数,每个间隔由固定数量的事务定义。对于每个间隔,我还需要知道结束时间。
这里最好的方法是什么?我应该存储我的事实表并连接到标准的小时/分钟/秒维度,还是应该使用我的事务数据来创建一个适应它的维度?
感谢您的反馈。
crystal-reports - 主覆盖所有 OLAP 网格的 OLAP 多维数据集连接设置?
我正在使用 Crystal Reports 12.3,并且在我文件中的每个报表中,我都有 OLAP 网格,我必须在其中单独设置它们的连接。目前我正在为每个单独的网格更改它:
突出显示 OLAP 网格 >(菜单)数据库 > 设置 OLAP 多维数据集位置...
有没有一种方法可以设置默认情况下所有 OLAP 网格都引用的主连接,而不必每次都更改它?
excel - 数据透视表 - VBA
我想通过 VBA 在链接到 OLAP Cube 的数据透视表中选择一些值。据我所知,可以通过键入以下内容来实现此类修改:
由于从 Excel 表中的单元格获取参数列表,我编写了简单的函数 - 在提到的示例中 - 返回:
我不能使用这样的字符串作为 Array 函数的参数(因为它会将其识别为一个字符串),所以我尝试将其转换为 Array of Variant,输入上面的代码:
不幸的是,它没有任何改变 - 当我打电话时:
我仍然收到一条错误消息。请问你能帮帮我吗?
ssas - 查看 Cube 浏览器中使用的 MDX
我正在尝试查看 Cube Browser 中使用的 MDX。我在谷歌上搜索,我再次被重定向 StackOverflow 的帖子 查看 MDX 查询在浏览多维数据集时生成
是的,我可以看到 MDX,但是当我尝试在 SSMS-Analysis 服务器中执行相同的 MDX(从 Profiler 复制并粘贴到 SSMS 中)时,它不会执行并给我错误。
我在这里做错了吗?如果没有,还有其他方法可以将 MDX 从立方体中取出吗?
谢谢
ssas - 分析服务自定义身份验证
我为一家公司制作了一个 Web 应用程序,该应用程序允许用户输入他们公司已支付的所有发票。该公司在所有城市都有部门,用户只能看到与他们所在城市相关的数据。现在我设计了一个 OLAP 多维数据集,提供给他们分析数据。用户在应用程序上打开一个 Excel 数据透视表并连接到 SSAS,但他们可以访问整个数据。
我的问题是我如何才能通过 SSAS 仅显示与他们的城市相关的数据?任何帮助将不胜感激。
jasper-reports - 来自 OLAP Connection 的 JasperServer Adhoc 报告中没有图表选项?
我使用 Jasper OLAP 设计器制作了一个 OLAP 多维数据集。比我在 Jasper Server 中使用该 OLAP 模式建立了一个 OLAP 连接。
我的目标是使用该 OLAP 多维数据集生成报告。基本上是 PDF 格式的预定报告,其中包含表格和图表。
现在,当我选择 Create->Ad Hoc report -> OLAP connection.. 我没有图表选项。唯一的选择是交叉表。从这里我只能得到表格报告。
我不知道出了什么问题.. 我关心的是如何用图表制作这份报告.. 我的问题可能是错的.. 我是 Jasper、OLAP 和所有方面的新手。请给我一些指导。
提前致谢。
ssas - SQL Server Analysis Services - 数据挖掘错误 5
当我尝试在其中使用 NestedTable 处理 DataMining 时出现此错误。
知道为什么会这样吗?