ssas

How to connect SSAS to Python

 ̄綄美尐妖づ 提交于 2021-01-07 01:33:10
问题 Want to fetch data in Python Pandas DataFrame from SSAS connection, how to do? I tried below code import olap.xmla.xmla as xmla provider = xmla.XMLAProvider() connect = provider.connect(location='http://localhost/OLAP/msmdpump.dll',username='test',password='test') source = connect.getOLAPSource() But when importing its gives error "No module named xmla". So, I try to run "pip install xmla" but it giving error "No module name client" Please suggest what to do and how to import SSAS data in

Difference between tuple and set in mdx

ぃ、小莉子 提交于 2020-12-29 02:59:47
问题 What is the difference between tuple and set in MDX. How we can distinguish both and when we are using them. 回答1: A tuple is a single hierarchy member taken from all the dimensions. Suppose Time.[2nd half] is a tuple of time dimension. At the same way we can have multiple tuples and we represent them in '(',')' brackets. Eg: (Time.[2nd half], Color.Dark.Red). This is nothing but the mathematical intersection of nodes. we can represent the nodes in maths as (2,1) in the same way above

How to implement “greater than” based on dimension value in MDX

亡梦爱人 提交于 2020-12-16 02:24:16
问题 I would like to query the total sales of each country with the GDP growth rate of more than 3. So far, I can display the sales information of each country like such: SELECT {[Measures].[Sales]} ON 0, {[Dim Company Info].[LOC].ALLMEMBERS} ON 1 FROM [Database] But then I am still blank on how to query all GDP growth rate of more than 3. I have searched SO and found filter to be the answer, however, I do not know where to include it in my code above. How do I go about this? Edit: I have tried

How to implement “greater than” based on dimension value in MDX

我是研究僧i 提交于 2020-12-16 02:24:10
问题 I would like to query the total sales of each country with the GDP growth rate of more than 3. So far, I can display the sales information of each country like such: SELECT {[Measures].[Sales]} ON 0, {[Dim Company Info].[LOC].ALLMEMBERS} ON 1 FROM [Database] But then I am still blank on how to query all GDP growth rate of more than 3. I have searched SO and found filter to be the answer, however, I do not know where to include it in my code above. How do I go about this? Edit: I have tried

PowerBI Embedded (App Owns Data) Creating embed token with effective identity fails

喜你入骨 提交于 2020-12-07 07:51:16
问题 The error message I get is: Creating embed token for accessing dataset <my-data-set-guid> requries effective identity username to be identical to the caller's principal name. I am using PowerBI Embedded inside a .NET Core 2.2 Web App with a master account (as opposed to a service principal). Behind the scenes is Azure Active Directory and Azure Analysis Services with Live Connection. I am trying to pass in an effective identity based off the currently logged in user so that their permissions