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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

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
Anonymous
Not applicable

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

Anonymous
Not applicable

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

Anonymous
Not applicable

Hey @Anonymous, 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!
Anonymous
Not applicable

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.

Helpful resources

Announcements
Users online (27)