Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
WilbertTK
New Member

Visuals Break When Changing Survey ID in Power BI Dashboard with API Data Source

I have built a Power BI dashboard that pulls data from a website via API. I ensured that the structure and number of questions for each survey are identical. However, I'm experiencing an issue where some visuals break when I change the SurveyID in the data source to visualize a different survey. Attached below are screenshots: one shows the visuals working correctly, and the other shows the visuals breaking after the SurveyID change.

 

Could someone please help me understand what might be causing this issue and how to resolve it? Thanks!

 

NB: Visuals are Stacked Bar Chart

 

 

 

Picture1Picture1Picture2Picture2

3 REPLIES 3
v-mengmli-msft
Community Support
Community Support

Hi @WilbertTK ,

 

Except for the text label display exception, does the data proportion display normally in visual? If the data is good, I think it may have something to do with the label setting of the visual , you can try setting the label position to the right.

vmengmlimsft_1-1731571798730.png

 

 

Best regards,

Mengmeng Li

PhilipTreacy
Super User
Super User

@WilbertTK 

 

If you change the SurveyID then presumably you are requesting different data from the API?  Have you confirmed separately to your PBI query that the data for the changed SurveyID exists and is valid?

 

Regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


@PhilipTreacy 

 

Yes, I have confirmed that on the Power Query but I am keen to try something different if possible. Is there any other way I can go about doing that?

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.