Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Dear community,
I hope you're doing well. I have a question regarding the Analysis Service Connector in Power Query.
Recently, I receive this type of error called "DataSource.Error: AnalysisServices: Response status code does not indicate success: 400 (Bad Request)." when I'm trying to adjust the step in Power Query (as shown in the attached image)
However, it's interesting because in the last week I checked the Power Query this kind of error didn't exist (I used same DAX Query to import data from Analysis Service)
For your information, this kind of error is not happened in the report that used the same DAX Query in the Power BI Service. Therefore, I just wondering why the error is occured when I try to adjust the step in the Power Query.
Have you ever experienced this before? Please kindly let me know your suggestion/ideas. Thank you so much!
Solved! Go to Solution.
Hi @TotalAnonymous,
Thank you for your detailed explanation. Since the scheduled refresh in the Power BI Service is working fine, but the error only appears when opening Power Query, this suggests that the issue is likely related to Power Query metadata caching or local connection settings rather than the DAX query itself.
please try the following steps:
If this helps, please “Accept it as a Solution” and give it a “Kudos” to assist others in the community.
Thank you.
Hi @TotalAnonymous,
You're welcome. I'm glad the information was helpful.
That "works on first attempt, but fails on refresh preview" behaviour is actually something we see occasionally with Analysis Services connections. It often relates to metadata caching or session-specific inconsistencies in Power BI Desktop.
This forces Power BI to drop any cached schema or preview data and fetch it fresh which often helps when the model has changed behind the scenes or when there’s a mismatch in expectations between Power Query and Analysis Services.
If this helps, please mark it as “Accepted Solution” and feel free to give a “Kudos” to help others in the community as well.
Thank you.
Hi @TotalAnonymous,
Could you please confirm if your query have been resolved by the solution provided by? If so, please mark it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Hi @TotalAnonymous,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.
Hi @TotalAnonymous,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Hi @TotalAnonymous ,
Thank you for bringing your query to the Microsoft Fabric Community Forum.
After thoroughly reviewing the details and the screenshot you provided, here are some suggestions to help troubleshoot and resolve the issue:
If this information is helpful, please “Accept it as a solution” and give a "kudos" to assist other community members in resolving similar issues more efficiently.
Thank you.
Hi @v-ssriganesh , thanks for your answer!
I have a question. If the relationship between the table has been updated/changed in the Analysis Service, does it impact to the query and produce the same error? thank you!
Hi @TotalAnonymous,
Yes, if the relationship between tables has been updated or changed in Analysis Services, it can impact the query and potentially cause the same error.
Changes such as renaming, removing, or modifying relationships can affect how the DAX query retrieves data, leading to issues in Power Query. If the query relies on specific relationships that no longer exist or behave differently, it may result in a 400 (Bad Request) error.
If you find this information useful, please “Accept it as a solution” and give it a 'Kudos' to assist others in locating it easily.
Thank you.
Hi @v-ssriganesh ,
Thanks for your answer. However, I have used this DAX Query in a report that I have published in premium workspace before. The weird thing is the schedule refresh of the report is running smoothly. The data also updated correctly and I don't face the above error expression/notification in the workspace.
I only face the error when I try to open the Power Query of that report. I just wondering that this kind of error should be appeared in scheduled refresh as well. But, it turns out that I only face the error in Power Query.
Hi @TotalAnonymous,
Thank you for your detailed explanation. Since the scheduled refresh in the Power BI Service is working fine, but the error only appears when opening Power Query, this suggests that the issue is likely related to Power Query metadata caching or local connection settings rather than the DAX query itself.
please try the following steps:
If this helps, please “Accept it as a Solution” and give it a “Kudos” to assist others in the community.
Thank you.
Hi @v-ssriganesh ,
thanks for your answer, it's really helpful. One more thing, this is weird thing. When I try to use the same DAX code, let's say in the first attempt, it works. However when I try to refresh using refresh preview button, this kind of error appears again. About clearing cache, how can I do it? Thank you
Hi @TotalAnonymous,
You're welcome. I'm glad the information was helpful.
That "works on first attempt, but fails on refresh preview" behaviour is actually something we see occasionally with Analysis Services connections. It often relates to metadata caching or session-specific inconsistencies in Power BI Desktop.
This forces Power BI to drop any cached schema or preview data and fetch it fresh which often helps when the model has changed behind the scenes or when there’s a mismatch in expectations between Power Query and Analysis Services.
If this helps, please mark it as “Accepted Solution” and feel free to give a “Kudos” to help others in the community as well.
Thank you.
Hi @TotalAnonymous,
I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please accept it as a solution and give it a 'Kudos' so other community members with similar problems can find a solution faster.
Thank you.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
17 | |
10 | |
8 | |
8 | |
7 |