cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Power BI Connection issue

SARAN
7-Bedrock

Power BI Connection issue

Hi Team,

 

I have unable to access the Power BI report from Windchill qml report. I tried to access error message " string reference not set to an instance of a string. parameter name: s" is occurred. If without sso system url able to access. Any one known this behavior?

 

Winchill Version: 12.0.2.13. Power BI Version: 2.124.2028.0 64-bit (December, 2023)

6 REPLIES 6
aaronjlarson
14-Alexandrite
(To:SARAN)

What is the method in PowerBI that you are using to connect to the QML report? And what exactly do you mean when you say you're "accessing" the Windchill QML report?  Do you have parameters defined in either the PowerBI or Windchill report side?

Marco_Tosin
21-Topaz I
(To:SARAN)

Take a look at this discussion

 

BI Tools and Windchill

 

You can also search on knowledge base using "Power BI" keyword

 

https://www.ptc.com/en/support/search/#q=power%20bi

 

 

Marco
HelesicPetr
22-Sapphire I
(To:SARAN)

Hi @SARAN 

Why do you not use the direct connection to a database and use database queries ?

 

btw what method do you use to get data from QML report? WRS API ?

How do you define it ?

PetrH

Hi HelesucPetr

We have could system. That's why not having the database access. 

 

I have user get web method to execute the data.  The below URL was used

 

https://<your host.com>/Windchill/servlet/WindchillAuthGW/wt.enterprise.URLProcessor/URLTemplateAction?format=formatDelegate&delegateName=HTML&xsl1=&xsl2=&oid=OR%3Awt.query.template.ReportTemplate%3A1488903795&action=ExecuteReport

HelesicPetr
22-Sapphire I
(To:SARAN)

Hi @SARAN 

If you send a HTTP request, you have to define the login information to that request 

You can try WRS to get report template results  

 

Check this article

CS254366 - Windchill REST Services (WRS)

 

Windchill Resources

https://windchilladress/Windchill/netmarkets/html/wrs/doc.html

 

HelesicPetr_0-1708687909390.png

 

PetrH

Hi HelesicPetr,

Thanks for the sharing.

This is Post request , But above shared url is working fine in without SSO system. I have send the basic credentials only. 

Get request is works. if same steps followed above shared error have appear. 

Announcements

Top Tags