cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
adnankabina
Helper II
Helper II

Can we see SQL codes in power bi services

I want to know is there any possiblity to see your SQL codes on power bi service after publishing report from destkop ?

1 ACCEPTED SOLUTION
collinq
Super User
Super User

Hi @adnankabina ,

 

I am not sure what you mean by "code"?  If you mean, the SQL query itself, then the answer is no, not natively.  The query does not display, just the results of the query.  If you are referring to something else, please let us know!




Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!
Private message me for consulting or training needs.




View solution in original post

3 REPLIES 3
adnankabina
Helper II
Helper II

Yes SQL query. 

Hey @adnankabina ,

 

So, I made an assumption that might not be correct. I was thinking that you wanted to display the SQL query IN the report.  But, the more I think about the question, you probably meant seeing the SQL query while in the service.  You can't really see the exact SQL query, but you can go to the lineage view and see the SQL database that you are using.

There is not a way to see the "native query" in the service as far as I am aware.




Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!
Private message me for consulting or training needs.




collinq
Super User
Super User

Hi @adnankabina ,

 

I am not sure what you mean by "code"?  If you mean, the SQL query itself, then the answer is no, not natively.  The query does not display, just the results of the query.  If you are referring to something else, please let us know!




Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!
Private message me for consulting or training needs.




Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors
Top Kudoed Authors