Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Using Parameters in DMX

$
0
0

Hi, I'm trying to generate a report on a DMX query I have created and I would like to pass a parameter into a DMX query containing an OPENQUERY statement.  Currently I just do the following:

 

...OPENQUERY([data source],'SELECT ''@CompanyName'' AS [CompanyName]')...

 

It does not pass the parameter through though...  my query always returns no results!  Could anyone help please?  Thanks!

 

 


Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>