Forum Discussion

AbhinavSingh03's avatar
AbhinavSingh03
Microsoft Employee
1 year ago
Solved

Power BI Service : Bookmark state: Target Visual names metadata behavior

Hi,

I've enabled personalize option in my pbi reports and using bookmarks to capture the visual changes. Now one its saved as bookmark, I've decrypted the state and trying to see if the visuals personalized on a single page, can I view what all visuals are changed. Now what i observe is for all visual changes, there is a property called visual container which essentially is a representation of visuals within the report along with relevant data. I've change 2-3 visuals in a single page, while these visual containers are updated, there is a property called targetVisualNames which has my latest container id which had personalization changes. Since Updated 2 visuals priort to this, I expected those 3 unique ids to be present but it only shows the last one which is edited. Is this intentional or no? I am trying to capture these fields to see how users are interacting with personalize action. 

Any leads would be appreaciated on how to get all changed unique ids in this array.

 

 

{
  "displayName": "Bookmark 1",
  "name": "d8f97ab33e6a57a35e80",
  "options": {
    "targetVisualNames": ["5e08c497173cdb3414b0"],
    "allPages": true,
    "personalizeVisuals": true
  },
 .....
}

 

 

  • Hi AbhinavSingh03,

    Thank you for reaching out to the Microsoft Fabric Community Forum.

     

    After thoroughly reviewing the details you provided, here are a few workarounds that may help resolve the issue. Please follow these steps:

     

    Power BI does not automatically store all previously modified visual IDs in targetVisualNames. Instead, it only captures the most recent visual modification. This appears to be intentional behaviour, not a bug.

     

    • Create individual bookmarks for each visual change to capture the state of specific visuals and track changes separately.
    • Implement a custom logging mechanism in your Power BI report. Utilize Power BI's built-in features, such as Power Automate, to log changes to a database or file whenever a visual is personalized.
    • If practical, manually track changes by noting the visual IDs each time a change is made. This might be suitable for smaller reports or fewer changes.
    • Leverage the Power BI REST API to programmatically capture and log visual changes. This approach requires development effort but offers a comprehensive solution.

    Please go through the following links for more information:
    Overview of bookmarks in Power BI service reports - Power BI | Microsoft Learn
    Create report bookmarks in Power BI - Power BI | Microsoft Learn


    If this post helps, then please give us ‘Kudos’ and consider Accept it as a solution to help the other members find it more quickly.

    Best Regards.

5 Replies

  • That is something you should not be allowed tto capture for privacy reasons.

  • v-kpoloju-msft's avatar
    v-kpoloju-msft
    Community Support

    Hi AbhinavSingh03,

    Thank you for reaching out to the Microsoft Fabric Community Forum.

     

    After thoroughly reviewing the details you provided, here are a few workarounds that may help resolve the issue. Please follow these steps:

     

    Power BI does not automatically store all previously modified visual IDs in targetVisualNames. Instead, it only captures the most recent visual modification. This appears to be intentional behaviour, not a bug.

     

    • Create individual bookmarks for each visual change to capture the state of specific visuals and track changes separately.
    • Implement a custom logging mechanism in your Power BI report. Utilize Power BI's built-in features, such as Power Automate, to log changes to a database or file whenever a visual is personalized.
    • If practical, manually track changes by noting the visual IDs each time a change is made. This might be suitable for smaller reports or fewer changes.
    • Leverage the Power BI REST API to programmatically capture and log visual changes. This approach requires development effort but offers a comprehensive solution.

    Please go through the following links for more information:
    Overview of bookmarks in Power BI service reports - Power BI | Microsoft Learn
    Create report bookmarks in Power BI - Power BI | Microsoft Learn


    If this post helps, then please give us ‘Kudos’ and consider Accept it as a solution to help the other members find it more quickly.

    Best Regards.

    • v-kpoloju-msft's avatar
      v-kpoloju-msft
      Community Support

      Hi AbhinavSingh03,

       

      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.

       

      • v-kpoloju-msft's avatar
        v-kpoloju-msft
        Community Support

        Hi AbhinavSingh03,


        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.