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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

PowerBI Embedded - cómo personalizar el funcionamiento/contexto del menú y el diseño personalizado

He integrado powerbi-embedded con Angular 9 aplicación web también añadir código para layut personalizado, pero no está funcionando.

Quiero personalizar el menú de operaciones /context y el diseño personalizado.

Objeto de configuración -

const config: any = {
  type: 'report',
  uniqueId: 'report-id',
  permissions: this.model.Permissions.All,
  embedUrl: 'embed-url',
  accessToken: 'access-token',
  settings: {
  layoutType: this.models.LayoutType.Custom,
  customLayout: {
   pageSize: {
    type: this.models.PageSizeType.Custom,
    width: 1600,
    height: 1200
   },
   displayOption: this.models.DisplayOption.ActualSize,
   pagesLayout: {
    "MyReportSection007" : {
     defaultLayout: {
      displayState: {
       mode: this.models.VisualContainerDisplayMode.Hidden
      }
     },
     visualsLayout: {
      "VisualContainer1": {
       x: 1,
       y: 1,
       z: 1,
       width: 400,
       height: 300,
       displayState: {
        mode: this.models.VisualContainerDisplayMode.Visible
       }
      },
      "VisualContainer2": {
       displayState: {
        mode: this.models.VisualContainerDisplayMode.Visible
       }
      },
     }
    }
   }
  }
 }

};

por encima de la configuración. no funciona. cualquier idea de cómo puedo asegurar la personalización en el funcionamiento del menú y el diseño.

Estoy siguiendo a continuación los documentos -

https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html#

https://github.com/microsoft/PowerBI-JavaScript/wiki/Custom-Layout

Gracias

0 REPLIES 0

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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