Forum Discussion
"Error fetching data for this visual" in Snowflake
Hi,
Hope everyone is doing well.
There are several topics that deal with this error, but none that answers my problem.
Context :
- a report and a semantic model that leverages the Direct Query mode for Snowflake
- a Pro workspace
- 3 Workspace viewers and contributors
- 3 people, that are not members of the Workspace, added to the app audience (which shows the report from the 1st bullet point)
My problem is :
- I have no issue in Power BI Desktop or Service
- The 3 members of the Workspace have no issue in Power BI Service
- The 3 people from the app audience can see the app BUT they SOMETIMES see an "Error fetching the data for this visual. Couldn't load the data for this visual" for some visuals and not all of them. They also see a red "Invalid credentials" banner when viewing the app.
It SEEMS like the error appears solely for the visuals that hit the Direct Query table, which holds the finest grain of data, while the visuals that hit the Power BI aggregated tables SEEM to work correctly. however this may be an invalid assumption since I'm not even sure the aggregated tables are being hit in Service because SSO is activated for Snowflake + sometimes all visuals show this error.
Help đ
Hi Danyboyyy ,
Thank you for reaching out to Microsoft Fabric Community.
These steps might resolve the âInvalid credentialsâ and DirectQuery visual errors for non-workspace users in apps.
-
Grant Build permission on the dataset to the app audience users, navigate to Workspace which contains Dataset, click on Manage Permissions, Add users, Grant Build Access.
-
Enable SSO correctly:
-
Go to Workspace , click on dataset settings expand data source credentials.
-
Ensure âUse SSO via Azure ADâ is enabled and âUse user's credentialsâ is checked.
-
-
Verify Snowflake access, Ensure app users have the right Snowflake roles and are not blocked by network policies.
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" â Iâd truly appreciate it!
Thank you!!
-
8 Replies
- v-sathmakuri
Community Support
Hi Danyboyyy ,
Thank you for reaching out to Microsoft Fabric Community.
These steps might resolve the âInvalid credentialsâ and DirectQuery visual errors for non-workspace users in apps.
-
Grant Build permission on the dataset to the app audience users, navigate to Workspace which contains Dataset, click on Manage Permissions, Add users, Grant Build Access.
-
Enable SSO correctly:
-
Go to Workspace , click on dataset settings expand data source credentials.
-
Ensure âUse SSO via Azure ADâ is enabled and âUse user's credentialsâ is checked.
-
-
Verify Snowflake access, Ensure app users have the right Snowflake roles and are not blocked by network policies.
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" â Iâd truly appreciate it!
Thank you!!
- DanyboyyyFrequent Visitor
Hi,
Thank you for your answer ! I'll try that and will come back to update the status đ
- v-sathmakuri
Community Support
Hi Danyboyyy ,
Thank you for the response!! We will be waiting for your reply, Please let us know if you still face any issues?
-
- v-sathmakuri
Community Support
Hi Danyboyyy ,
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!!
- DanyboyyyFrequent Visitor
Hey,
I did not forget but I'm afraid I have not yet. What I know for now is that "Build" was not the issue since it hasn't changed anything.
I still have to have confirm for SSO and Snowflake access. Then i'll come back here đ
Best,
- v-sathmakuri
Community Support
- v-sathmakuri
Community Support
Hi Danyboyyy ,
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 the responses has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you!!