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

Join 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.

Reply
VivekChadha
Frequent Visitor

How to retain the value of configuration in custom visual?

VivekChadha_1-1666246236407.png

 

I have implemented the custom visual with configuration called :Unique Dates Per Page, when i set some value, its taking up the value but when i save the page and open it again the value is again getting set to default value, i don't why this is happening?

 

This is settings.ts file, where i am setting the value=20, on saving and opening the report again value is getting set to 20 (showing 20) but its still taking up the previous value which i have set it (not default value).

VivekChadha_2-1666246342789.png

 How to resolve this issue?

6 REPLIES 6
VivekChadha
Frequent Visitor

Hey @VivekChadha, I'm happy to try to help with this. Are you able to provide the following?:

  • Full project code so I can dev locally (ideally a GitHub repo or similar w/package.json & package-lock.json rather than a node_modules folder)
  • Report w/sample data (ideally with a test visual already set up so I can deploy and debug)


Madison Giammaria
Proud to be a Super User 😄
LinkedIn

Do you frequently use Deneb to provide insights to your stakeholders? Have you considered sponsoring this free and open source custom visual? More info here!

Hi @giammariam , Can we connect over google meet or any mode of communication so i can share all the details with you,

In short when i set some value in the powerbi custom visual and refersh the page it doesn't show the same set value in the settings.

For Example we are having some configuration called 'Box Settings', Under Box settings if i set the box width to 163 and refersh the page it shows me the default value instead of the previous set value.

VivekChadha_0-1678862171111.png

 

Looking forward to hear from you.

VivekChadha
Frequent Visitor

@lbendlin  @dm-p  @Anonymous  @BrandedSaiyan  @Anonymous 

Anonymous
Not applicable

When you save the report all the values in the formatting pane are saved as well. So opening it next time, you will see all the saved values that you used previously. If you hit the reset to default button, then you will see the default value. 

yeah but i am not able to see the previously set value.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors