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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
FedeBrusa
New Member

visualizacion

tengo un ERP con 4 bases de datos donde 1 de ellas es la madre de las demas, es decir, en base a la primera, se armaron las otras. 

a partir de power bi, tengo una consulta sql armada por el propio erp , que utiliza una funcion disponible dentro de la estructura de la base de datos. 

ahora bien, en 2 de estas 4 empresas, la consulta se ejecuta sin problemas y en otras dias, me arroja un error que no se puede ejecutar una funcion. tienen idea de que puede estar pasando? 

 

mismas estructuras de bases , misma consulta, resultados distintos. 

aguardo sus comentarios, muchas gracias. 

1 ACCEPTED SOLUTION

quiero agradecerles a @AmiraBedh y a @Anonymous por la atencion brindada a mi consulta, pero finalmente no era un problema del power bi, sino de permisos de acceso a la base de datos. ya he podido resolver el tema y armar las consultas deseadas. muchas gracias. 

View solution in original post

7 REPLIES 7
Anonymous
Not applicable

Hi @FedeBrusa,

Thanks for reaching out to the Microsoft fabric community forum.

Just following up to our previous message. I'd like to confirm if you've successfully resolved this issue or if you need further help.

If yes, you are welcome to share your workaround and mark it as a solution so that other users can benefit as well. If you find a reply particularly helpful to you, you can also mark it as a solution.

 

I would also take a moment to thank @AmiraBedh, for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.

 

If I misunderstand your needs or you still have problems on it, please feel free to let us know.  

Best Regards,
Hammad.
Community Support Team

 

If this post helps then please mark it as a solution, so that other members find it more quickly.

Thank you.

quiero agradecerles a @AmiraBedh y a @Anonymous por la atencion brindada a mi consulta, pero finalmente no era un problema del power bi, sino de permisos de acceso a la base de datos. ya he podido resolver el tema y armar las consultas deseadas. muchas gracias. 

Anonymous
Not applicable

Hi @FedeBrusa,

As we haven’t heard back from you, so just following up to our previous message. I'd like to confirm if you've successfully resolved this issue or if you need further help.

If yes, you are welcome to share your workaround and mark it as a solution so that other users can benefit as well. If you find a reply particularly helpful to you, you can also mark it as a solution.


If you still have any questions or need more support, please feel free to let us know. We are more than happy to continue to help you.
Thank you for your patience and look forward to hearing from you.

Anonymous
Not applicable

Hi @FedeBrusa,

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 so that other community members can find it easily.


Thank you.

FedeBrusa
New Member

muchas gracias, pero no consigo resolverlo. 

Can you share more information about your issue ? screenshots maybe ?


Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696
AmiraBedh
Super User
Super User

 

I think that your issue can be related tothe wrong permissions set for executing the function so you need to check if the user running the query has EXECUTE permissions on the function.

Even though the databases have the same structure, the function may not be present in all of them or may be defined differently. Try running in all databases to confirm its existence.

 

SELECT * FROM INFORMATION_SCHEMA.ROUTINES WHERE ROUTINE_NAME = 'YourFunctionName'

 

Also, try to check :

 

  • If the function relies on collation-sensitive operations (like comparing strings), differences in collation settings between databases could cause failures.
  • If the function references objects in another database or uses a linked server, verify that these dependencies exist and are accessible in all databases.

 

 

 

 


Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.