Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello all, I used below query code to get the data by by SAAS. It is weir that it works perfectly in Power BI Query but in Excel query it pop up with an error of Access Denied. I cleared the permissions in Data source setting and used the credential again with my account but it still failed. Did I miss something in Excel Query?
Source = AnalysisServices.Database("powerbi://api.powerbi.com/v1.0/myorg/PUB_Data", "PUB_SKU", [Query="EVALUATE VALUES('1#+SM+Missing+Region')", Implementation="2.0"])
In Excel you need to use MDX, not DAX.
@lbendlin, such query actually works well when I run it by connecting to company internal data by VPN.
But it is weird that I will encounter the permission error when I run it within company network. So I assume the DAX should work but may have issue using in Excel. P.S. If I'm using the query by MDX, could you pls give me a hint how to use that in Excel?
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
22 | |
7 | |
6 | |
6 | |
6 |
User | Count |
---|---|
27 | |
10 | |
10 | |
9 | |
6 |