在SSIS上配置MDX查询 [英] Configuring an MDX query on SSIS

查看:69
本文介绍了在SSIS上配置MDX查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在配置SSIS任务以运行MDX查询时遇到了麻烦.解析工作正常,但不允许我显示查询的不同列以进行映射

Hi I am having troubles configuring the SSIS task to run an MDX query. The parse works fine but it doesn't allow me to display the different columns of the query to map it

这是我使用的查询:

SELECT [Measures].[# Consumers] ON 0,
      [Company].[Company Country Code].[Company Country Code].MEMBERS ON 1
FROM _CDM

引发的错误是:

SQL命令未返回任何列信息

No Column information was returned by the SQL Command

错误快照

推荐答案

您可以在数据转换任务中将MDX Select用作源.
两个重要说明:

You can use MDX Select as a Source in Data Transformation Task.
Two important notes:

  • MS OLE DB提供程序用于Analysis Services ,为您的SSAS DB进行配置
  • 在AS的OLE DB提供程序中,转到所有属性选项卡,选择高级部分,然后为 Extended键入 Format = Tabular 属性.
  • Use MS OLE DB Provider for Analysis Services, configure it for your SSAS DB
  • In OLE DB Provider for AS, go to All Properties Tab, select Advanced section and type Format=Tabular for Extended Properties.


在这种情况下,可以在 OLE DB源编辑器中输入您的MDX查询.
重要提示-预览按钮可能不起作用,您应检查查询元数据是否已切换到""标签.


In this case, at OLE DB Source Editor you can input your MDX query.
Important - Preview button might not work, you should check query metadata switching to Columns tab.

这篇关于在SSIS上配置MDX查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆