我如何将此 SQL 查询转换为 MDX?
我搜索了不同的 MDX 资源并阅读了大量有关 MDX 选择和过滤器的材料。 我有一个必须在 MDX 中重构的 SQL 查询:
Select Left (hcc_key, 2) as Rayon
From [alias_dat].[dbo].[tbl_dim_responsible]
where usr_name=('John Doe')
How do i select a name field from a table in MDX using the Left Function?
我知道MDX与SQL完全不同,因此不能完全翻译。如果有人可以帮助我更进一步,我将非常感激。
I have searched different MDX resources and read a lot of materail about MDX selects and filters.
I have this SQL Query that I have to restructure in MDX:
Select Left (hcc_key, 2) as Rayon
From [alias_dat].[dbo].[tbl_dim_responsible]
where usr_name=('John Doe')
How do i select a name field from a table in MDX using the Left Function?
I understand that MDX is completely different to SQL and thus can't completely be translated. If someone could help me get a step further, i would be very grateful.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
试试这个:
Try this one: