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
EHC123
New Member

Publicación de informes en Servicio POWER BI mediante live connection con SSAS

¡Hola!

Soy nuevo utilizando SSAS y Power BI, y me estoy enfrentando a un problema que he visto en varios foros, pero no he visto una solución. El mensaje es: "Este informe no ha podido tener acceso al origen de datos. Póngase en contacto con el autor para que lo corrija". Cabe aclarar que estoy desde mi PC personal, así que creo que no funcionaría el tema de UPN. He hecho la conexión del gateway correctamente y la conexión al CUBO igual. Creé un rol en mi modelo OLAP y en el apartado de pertenencia agregué el usuario "dominiopersonal\usuario" y le di permisos de administrador para ver si funcionaba, pero nada. La parte de EffectiveUserName en el servicio de Power BI no sabría cómo utilizarla porque no tendría un UPN. Sin embargo, agregué una regla y he reemplazado mi correo empresarial de Microsoft, con el cual tengo mi cuenta de Power BI Desktop y el servicio de Power BI, con el correo (@gmail.com) que tengo vinculado a mi usuario en "dominiopersonal\usuariode mi PC, pero no hay resultados.

Agradecería me puedan ayudar!!

 

1 ACCEPTED SOLUTION

Hi @EHC123 ,

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

  • When using Import Mode in Power BI, a UPN (User Principal Name) is not required.So instead of live connection go with the Import mode.
  • Use the Import Mode option when connecting to your SSAS data source.
  •  Choose SQL Server Analysis Services.Choose the Import connection option (not "Connect live").
  • Select the specific tables or measures you need from the SSAS cube.
  • Load the data into your Power BI Desktop file. The data will now be stored in the dataset.
  • Design a report using imported dataset and then publish it to the particular workspace.

    If this post was helpful, please give us Kudos and consider marking Accept as solution to assist other members in finding it more easily.

    Thank you.

View solution in original post

3 REPLIES 3
v-menakakota
Community Support
Community Support

Hi @EHC123 ,

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

Recheck the Gateway configurations go to the Power BI Service, navigate to Settings > Manage Gateways, and  confirm the gateway is online. The data source is correctly added with the Server Name and Database matching your SSAS instance. Authentication is set to Windows Authentication and the credentials match the SSAS user.
Ensure your SSAS roles and permissions are configured properly.
Each time a user interacts with a report connected to Analysis Services, the effective user name is passed to the gateway and then passed on to your on-premises Analysis Services server. The email address that you use to sign in to Power BI is passed to Analysis Services as the effective user.

The email address must match a defined user principal name (UPN) within the local Active Directory domain. The UPN is a property of an Active Directory account. The Windows account must be present in an Analysis Services role. If a match can't be found in Active Directory, the sign-in isn't successful.

 Refer to the link below, which addresses a similar query and provided the solution.

Solved: Error Message: This report could not access its da... - Microsoft Fabric Community


If this post was helpful, please give us Kudos and consider marking Accept as solution to assist other members in finding it more easily.

Gracias por la respuesta @v-menakakota  
Pero yo estoy trabajando desde mi pc doméstica. Es decir, que no tengo un UPN ya que cuando ejecuto el comando "whoami /upn" me aparece "ERROR: no se puede obtener el nombre principal de usuario (UPN) porque el usuario que ha iniciado sesión no es un usuario de dominio." 

 

¿Cómo podría resolver el problema en ese caso si quiero publicar mi reporte en el servicio de power bi sin usar un entorno corporativo, es decir usando mi pc doméstica. ?
Gracias !! 

Hi @EHC123 ,

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

  • When using Import Mode in Power BI, a UPN (User Principal Name) is not required.So instead of live connection go with the Import mode.
  • Use the Import Mode option when connecting to your SSAS data source.
  •  Choose SQL Server Analysis Services.Choose the Import connection option (not "Connect live").
  • Select the specific tables or measures you need from the SSAS cube.
  • Load the data into your Power BI Desktop file. The data will now be stored in the dataset.
  • Design a report using imported dataset and then publish it to the particular workspace.

    If this post was helpful, please give us Kudos and consider marking Accept as solution to assist other members in finding it more easily.

    Thank you.

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.