SSRS report with tabular model – MDX query CoalesceEmpty function does not return the provided string value
Hello everyone,
I created following calculated member in MDX query. I am using it in one of the report parameter in dataset (single select dropdown list as report parameter).
WITH MEMBER [Measures].[ParameterCaption] AS
CoalesceEmpty([Customer].[National Account Code].CURRENTMEMBER.MEMBER_CAPTION,'None')
I would like to display 'None' text at the top of the dropdown list values. So that when user selects 'None' then this parameter will not considered in MDX query else the selected National Account Code will be considered to filter report data. But,
the above return blank/empty value for [Customer].[National Account Code].& member though I specified 'None' as text in CoalesceEmpty function. Any advice would be appreciated.
Thanks, Ankit Shah
Inkey Solutions, India.
Microsoft Certified Business Management Solutions Professionals
http://www.inkeysolutions.com/MicrosoftDynamicsCRM.html
Hi Ankit,
It seems that you issue had been solved in your another thread.
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/5a5becac-226f-428a-95b0-aaaa22733818/ssrs-report-with-tabular-model-create-a-dropdown-report-parameter-with-none-option-as-the-top?forum=sqlanalysisservices#0e51bf8c-a66c-4df5-a244-0147728fdfdb
iif([Customer].[National Account Code].CURRENTMEMBER.MEMBER_CAPTION="","None",[Customer].[National
Account Code].CURRENTMEMBER.MEMBER_CAPTION)
I marked this reply as answer, it will benefit to other members who have the similar issue.
Regards,
Charlie Liao
TechNet Community Support
Similar Messages
-
SSRS report with tabular model - MDX query to filter parameter data based on Tuple value.
Hello Everyone,
I am working on SSRS report in which a tabular model is being used as a backend.
I want to filter the report parameters which are dependent to other parameters. Like, country, state, and cities drop downs.
All are multi-select parameters. I am using MDX queries to filter the parameters data.
Based on selected one or more countries, the data of states needs to be filtered.
The point is the text which is being displayed in state dropdown for each state name is combination of 3 different members.
So, I created the following Tuple for the same and can see the expected display names in states dropdown.
"("+
[Location].[Code 1].CURRENTMEMBER.UNIQUENAME +","+
[Location].[Code 2].CURRENTMEMBER.UNIQUENAME +","+
[Location].[Descr].CURRENTMEMBER.UNIQUENAME +")"
Now, when I would like filter the cities data based on selected one or more states, I am unable to pass the multiple Tuples (more than one selected Tuples) as parameter for cities dropdown.
The following is my query for City parameter. It is working well when I select only one State from the dropdown.
However, when I select multiple states, it is unable to convert the Tuple into SET in ELSE part of IIF condition specified in following query.
Can anybody help me how to resolve the error that I am getting about STRTOSET function?
Or
Are there any other alternatives to achieve this requirement?
Any help would be much appreciated.
Query:
WITH MEMBER [Measures].[ParameterCaption] AS [City].[City Business].CURRENTMEMBER.MEMBER_CAPTION
MEMBER [Measures].[ParameterValue] AS [City].[City Business].CURRENTMEMBER.UNIQUENAME
MEMBER [Measures].[ParameterLevel] AS [City].[City Business].CURRENTMEMBER.LEVEL.ORDINAL
SELECT {[Measures].[ParameterCaption], [Measures].[ParameterValue], [Measures].[ParameterLevel]} ON COLUMNS ,
[City].[City Business].Children ON ROWS
FROM (
SELECT ( STRTOSET(@State, CONSTRAINED) ) ON COLUMNS FROM [Model])
WHERE ( IIF( STRTOSET(@State).Count= 1,
STRTOTUPLE(@State, CONSTRAINED),
STRTOSET("{
("+
[Location].[Code 1].CURRENTMEMBER.UNIQUENAME +","+
[Location].[Code 2].CURRENTMEMBER.UNIQUENAME +","+
[Location].[Descr].CURRENTMEMBER.UNIQUENAME
+ ")
}",CONSTRAINED )) ) CELL PROPERTIES VALUE
Thanks, Ankit Shah
Inkey Solutions, India.
Microsoft Certified Business Management Solutions Professionals
http://www.inkeysolutions.com/MicrosoftDynamicsCRM.htmlHi,
I used following dynamic query in expression of dataset of parameter and it works like a charm.
"WITH MEMBER [Measures].[ParameterCaption] AS [City].[City Business].CURRENTMEMBER.MEMBER_CAPTION "&
"MEMBER [Measures].[ParameterValue] AS [City].[City Business].CURRENTMEMBER.UNIQUENAME "&
"MEMBER [Measures].[ParameterLevel] AS [City].[City Business].CURRENTMEMBER.LEVEL.ORDINAL "&
"SELECT {[Measures].[ParameterCaption], [Measures].[ParameterValue], [Measures].[ParameterLevel]} ON COLUMNS , " &
"[City].[City Business].Children ON ROWS " &
" FROM [Model] WHERE ({"& join(Parameters!Location.Value,",") &"}) CELL PROPERTIES VALUE"
Thanks, Ankit Shah
Inkey Solutions, India.
Microsoft Certified Business Management Solutions Professionals
http://www.inkeysolutions.com/MicrosoftDynamicsCRM.html -
Hello everyone,
I am using the following MDX query on one of my SSRS report.
SELECT NON EMPTY { [Measures].[Days Outstanding], [Measures].[Amt] } ON COLUMNS,
NON EMPTY { ([Customer].[Customer].[Customer Key].ALLMEMBERS) }
HAVING [Measures].[ Days Outstanding] > 60
DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME ON ROWS
FROM ( SELECT ( STRTOSET(@Location, CONSTRAINED)) ON COLUMNS
FROM ( SELECT ( {[Date].[Fiscal Period].&[2014-06]}) ON COLUMNS
FROM [Model]))
Over here, the data is being filtered always for current month and for a location that is being selected by user from a report selection parameter.
I would like to get the count of total no. of customers and sum of the amount measure.
When I am using them in calculated members it gives incorrect values. It considers all records (ignores the sub-select statements) instead of only the records of current month and selected location.
I also tried with EXISTING keyword in calculated members but there is not difference in output. Finally, I manage the same at SSRS level.
Can anybody please advise what are the ways to get the required sum of [Measures].[Amt] and count of [Customer].[Customer].[Customer Key].ALLMEMBERS dimension?
Also, does it make any difference if I manage it as SSRS level and not at MDX query level?
Any help would be much appreciated.
Thanks, Ankit Shah
Inkey Solutions, India.
Microsoft Certified Business Management Solutions Professionals
http://www.inkeysolutions.com/MicrosoftDynamicsCRM.htmlCan anybody please advise what are the ways to get the required sum of [Measures].[Amt] and count of [Customer].[Customer].[Customer Key].ALLMEMBERS dimension?
Also, does it make any difference if I manage it as SSRS level and not at MDX query level?
Hi Ankit,
We can use SUM function and COUNT function to sum of [Measures].[Amt] and count of [Customer].[Customer].[Customer Key].ALLMEMBERS dimension. Here is a sample query for you reference.
WITH MEMBER [measures].[SumValue] AS
SUM([Customer].[Customer].ALLMEMBERS,[Measures].[Internet Sales Amount])
MEMBER [measures].[CountValue] AS
COUNT([Customer].[Customer].ALLMEMBERS)
MEMBER [Measures].[DimensionName] AS [Customer].NAME
SELECT {[Measures].[DimensionName],[measures].[SumValue],[measures].[CountValue]} ON 0
FROM [Adventure Works]
Besides, you ask that does it make any difference if I manage it as SSRS level and not at MDX query level. I don't thinks it will make much difference. The total time to generate a reporting server report (RDL) can be divided into 3 elements:Time to retrieve
the data (TimeDataRetrieval);Time to process the report (TimeProcessing);Time to render the report (TimeRendering). If you manage it on MDX query level, then the TimeDataRetrieval might a little longer. If you manage it on report level, then the TimeProcessing
or TimeRendering time might a little longer. You can test it on you report with following query:
SELECT Itempath, TimeStart,TimeDataRetrieval + TimeProcessing + TimeRendering as [total time],
TimeDataRetrieval, TimeProcessing, TimeRendering, ByteCount, [RowCount],Source
FROM ExecutionLog3
WHERE itempath like '%reportname'
Regards,
Charlie Liao
TechNet Community Support -
Hello Everyone,
I would like to create SSRS single select dropdown list parameter (it is using MDX query in dataset) with "None" option at the top. Note: this parameter is dependent parameter and getting filtered based on the selection of another parameter.
How can I add hard-coded "None" text at the top of the parameter values? Can Union function help me to add this hard-coded value? The purpose is, when user selects None from the dropdown ignore the condition of the parameter from MDX query else
use the selected value in query condition.
Thanks, Ankit Shah
Inkey Solutions, India.
Microsoft Certified Business Management Solutions Professionals
http://www.inkeysolutions.com/MicrosoftDynamicsCRM.htmlHi Ankit,
In your scenario, you can achieve your requirement in report level other than in query. Add a Filter like:
Expression: =IIF(Parameters!Name.Value="None",1,Fields!Name.Value)
Operator:=
Value: =IIF(Parameters!Name.Value="None",1,Parameters!Name.Value)
In this case, report will ignore this parameter, and show all the records on the report when selecting “None” value. I have tested it on my local environment, the screenshots below are for you reference.
Reference:
Add a Filter to a Dataset (Report Builder and SSRS)
Regards,
Charlie Liao
TechNet Community Support -
When using rabbitmq-jms for vFabric RabbitMQ javax.jms.Message.getJMSDestination does not return the actual destination when it is received from a consumer listening on a Topic with a wild card. I have tested with both 1.0.3 and 1.0.5 clients with RabbitMQ 3.1.5.
I was wondering if the community was aware of this problem and if there are any workarounds? If not what is the proper channel to file a bug report. An example code snippet is below. The test fails because the TextMessageMatcher expects the destination passed in on construction (second parameter) to equal the desination on the message received (aquired from getJMSDestination).
Mockery context = new Mockery();
final MessageListener messageListener = context.mock(MessageListener.class);
final Latch latch = new LatchImpl();
final String prefix = "test" + System.currentTimeMillis();
context.checking(new Expectations() {
oneOf(messageListener).onMessage(with(new TextMessageMatcher("MSG1", prefix + ".1234")));
will(new CustomAction("release latch") {
@Override
public Object invoke(Invocation invocation) throws Throwable {
latch.unlatch();
return null;
final Connection connection = createConnection(null, null);
Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
connection.start();
Topic wildcardTopic = (Topic) getInitialContext().lookup(prefix + "." + "#");
Topic destination = (Topic) getInitialContext().lookup(prefix + ".1234");
final MessageConsumer consumer = session.createConsumer(wildcardTopic);
consumer.setMessageListener(messageListener);
MessageProducer producer = session.createProducer(null);
producer.send(destination, session.createTextMessage("MSG1"));
latch.await(5000);
connection.close();
Thread.sleep(5);
context.assertIsSatisfied();Check where your MDB sends the [response] messages to.
-
Have a new computer with a different name. New computer does not recognize the ipod classic device? How can I remody this problem
Add '''DOZEN''S''''' of giggs of ram, switch from hard disk to SSD or add inline SSC.
Consult some free experts about potential malware infestation: BleepingComputer.com
In windows control panel is an option to rate performance of your computer. What number does the applet rate your computer?
http://windows.microsoft.com/en-US/windows7/What-is-the-Windows-Experience-Index -
I can not count the data from the module. Can prompt as it to make. It is desirable with examples (data read-out from the module and data transmission between channels. It is in advance grateful.
Hello. Most of the engineers in developer exchange are more familiar
with NI products. Contacting ICS for technical support is a better
course of action. -
The Disk Utility could not repair the disk neither the repairing installation of the OS X allowed me to start the OS, the blue frozen scream was still appearing. The HD erasing with the Disk Utility was the only choice, than installing the 10.6.7 OS.
I'm not entirely certain of what you've tried here, so some of this may be what you've already tried.
Get an external backup or two, made via the bootable DVD. Recoveries and repairs sometimes fail, and data loss can result.
if Disk Utility is not repairing the disk structures, then you can try an add-on repair tool (which wouldn't be my choice, but some folks try that), or you can create an external backup and reinstall from distribution. Attempting installation on a corrupt (or potentially failing) disk won't usually have desirable results.
After creating the external backup (or two), you can either replace the disk and reinstall, or can attempt to wipe and reinstall with the existing disk using the bootable DVD that came with your system (or a new Snow Leopard DVD from Apple) and particularly the Disk Utility tool that's available via the DVD Utilities menu, and migrate in your old data from the external backup. I'd then download and apply the 10.6.8 Combo Update from Apple; and not the delta update from 10.6.7 (if that's what your Mac DVD has).
The data migration is part of the installation, and will attempt to bring in your existing files and your old environment, passwords and the rest of the settings from the external disk image. (Assuming it's not corrupted.)
If you have reinstalled and have redownloaded and reloaded the combo update, then you likely have some sort of a hardware problem with your MacBook Pro; check with the local Apple Store for repairs, or whoever else you might be using for that. Or replacement, of course.
I'm going to assume that you're using the OS X 10.6 client software that arrived with that MacBook Pro and have not installed and are not running the server version of OS X Server 10.6 (this forum); the initial recovery sequence for this case is basically the same for either, though getting the various services back online after a disk corruption can be more involved. You will need to use the 10.6.8 Server combo update here, though. -
Oracle Text does not return results when String starts with two consecutive vowels
Hi,
I hope someone can shed some light on a strange problem we're facing.
Oracle Database 11g R2 (11.2.0.4) EE 64-bit running on Windows 2008 Server R2.
When I create a context index on a varchar2 column (surname) it works fine when the surname starts with either a consonant or one vowel. But when the surname starts with two vowels it fails to return the record?
Please see worked example below:
create table t1 (surname varchar2(50));
insert into t1 values ('OURS');
insert into t1 values ('JOURS');
insert into t1 values ('ONES');
commit;
-- sync every 10 mins
CREATE INDEX PERSON_SURNAME_IDX ON t1
(SURNAME)
INDEXTYPE IS CTXSYS.CONTEXT
PARAMETERS('MEMORY 50M sync (every "SYSDATE+10/1440")')
NOPARALLEL;
-- no rows
SELECT surname
FROM t1
WHERE CONTAINS(surname, 'OURS') > 0;
-- 1 row
SELECT surname
FROM t1
WHERE CONTAINS(surname, 'JOURS') > 0;
-- 1 row
SELECT surname
FROM t1
WHERE CONTAINS(surname, 'ONES') > 0;
Any help or guidance greatly appreciated.
Thanks,Wtf?
https://docs.oracle.com/database/121/CCREF/astopsup.htm#i634475
only then where
all do into onto there whether
almost does is or therefore which
also either it our these while
although for its ours
select
from v$version
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production 0
PL/SQL Release 12.1.0.2.0 - Production
CORE 12.1.0.2.0 Production
TNS for Linux: Version 12.1.0.2.0 - Production
NLSRTL Version 12.1.0.2.0 - Production
SELECT spw_stoplist, spw_word FROM ctx_stopwords
WHERE spw_stoplist ='DEFAULT_STOPLIST'
order by nlssort(spw_word, 'NLS_SORT=LATIN')
---- snip ----
DEFAULT_STOPLIST not
DEFAULT_STOPLIST of
DEFAULT_STOPLIST on
DEFAULT_STOPLIST one
DEFAULT_STOPLIST only
DEFAULT_STOPLIST or
DEFAULT_STOPLIST other
DEFAULT_STOPLIST out
DEFAULT_STOPLIST over
DEFAULT_STOPLIST s
---- snip ---- -
Hi,
Please help me in the following.I'm desperate...
I'm using PreparedStatement to do multiple queries in the same Table of a Database(ACCESS).
The rows of the Table look i.e like this :
(TABLE NAME == PERSONS)
PERSON_INDEX__TIME_PERIOD_________SPORT
1_______________1________________Basketball
1_______________2________________Football
1_______________3________________Tennis
2_______________1________________Something
I populate my PreparedStatement using something like :
java.sql.PreparedStatement st = con.createPreparedStatement("SELECT SPORT FROM PERSONS WHERE PERSON_INDEX=? AND TIME_PERIOD=?");
Now, when I do something like :
try
st.setInt(1,1);
st.setInt(2,1);
st.addBatch();
}catch(SQLException e){}
st.executeQuery();
ResultSet results = st.getResultSet();
while ( results.next() )
System.out.println("->"+results.getString("SPORT"));
I trully get as output :
->BasketBall
But when I populate it some more :
try
st.setInt(1,1);
st.setInt(2,1);
st.addBatch();
//***Query some more***
st.setInt(1,1);
st.setInt(2,2);
st.addBatch();
}catch(SQLException e){}
... and I execute I DON'T GET :
->BasketBall
->Football
but NOTHING!!! - the ResultSet HAS NO ROWS
This thing is driving me mad.
Can you please help me out?
Please post the code if neccessary...There is something wrong in your understanding of batching the statements. Basically you will add either update or insert or delete statements to your batch.
If you add a select statement, it will throw 'java.sql.BatchUpdateException: invalid batch command'. And moreover 'st.executeBatch()' is the method you need to invoke.
If you don't execute the batch using 'executeBatch()' method then, it must throw the exception,
'java.sql.SQLException: error occurred during batching: batch must be either executed or cleared'.
You need to rework on your code, I believe.
Sudha -
On my MacBook Pro, I install Lion. Now when I turn on my MacBook Pro, the log on screen is a square in the upper left hand cornor. It does show
all my log on names and will work when I sign in, but I don't have this same problem on my IMac so I am assuming something is not right. Does anyone
else have this problem?You're welcome
-
SSRS reporting with sharepoint list using Distinct and Multivalue parameters
i want create ssrs report with sharepoint list using ms-vs(2008). i want create Distinct multivalue parameters by using CAML query. There is any way we put CAML query where we use Distinct keyword and IN clause in CAML query... i hope all experts will
understand my poor English... sorry for poor English.. plz help meHi AsifMehmood,
Per my understanding you have create an SSRS report with SharePoint list, now you don’t know to create the distinct parameters by using CAML query, right?
For the CAML language doesn’t have any reserved word (or tag) to set this particular filter to remove duplicate results, but we can use the custom code to do this function. I have tested on my local environment and we can do that by create one hidden parameter(Param1)
to get all the values from the fields which will add the filter and then create another parameter(Param2) to get the distinct values based on the Param1, we use the custom code to do the deduplication.
Step by Steps information in below thread for your reference to create the parameters and the custom code:
"How to get distinct values of sharepoint column using SSRS"
Other similar thread for your reference:
https://audministrator.wordpress.com/2014/02/17/sharepoint-list-add-distinct-parameter-value/
If your problem still exists, please feel free to ask and also try to provide us more details information.
Regards
Vicky Liu -
Select query does not return rows
Hi all,
The following query does not returning rows even though values are there in table.
Kindly let me know why it is creating problem.
thanks, P Prakash
/* Formatted on 2011/05/11 16:44 (Formatter Plus v4.8.8) */
SELECT pr.pa_rqst_sid, ptr.sbmtr_trnsctn_idntfr, ptr.athrztn_infrmtn,
DECODE (ou.org_unit_name,
'PA - MDCH', (SELECT property_value
FROM hipaa_system_defaults
WHERE property_name = 'RECEIVER_ID_1_PA'),
'PA - MPRO', (SELECT property_value
FROM hipaa_system_defaults
WHERE property_name = 'RECEIVER_ID_2_PA'),
'PA - DEFAULT', (SELECT property_value
FROM hipaa_system_defaults
WHERE property_name = 'RECEIVER_ID_1_PA'),
NULL
) AS intrchng_sndr_idntfr,
ptr.intrchng_sndr_idntfr AS intrchng_rcvr_idntfr, ptr.usg_indctr,
ptr.intrchng_sndr_idntfr AS applctn_rcvr_code,
ptr.trnsctn_set_cntrl_nmbr AS trnsctn_set_cntrl_nmbr,
ptr.athrztn_infrmtn_qlfr AS athrztn_infrmtn_qlfr,
ptr.scrty_infrmtn_qlfr AS scrty_infrmtn_qlfr,
ptr.scrty_infrmtn AS scrty_infrmtn,
ptr.intrchng_sndr_idntfr_qlfr AS intrchng_sndr_idntfr_qlfr,
ptr.intrchng_rcvr_idntfr_qlfr AS intrchng_rcvr_idntfr_qlfr,
ptr.intrchng_cntrl_stndrds_idntfr AS intrchng_cntrl_stndrds_idntfr,
ptr.intrchng_cntrl_vrsn_nmbr AS intrchng_cntrl_vrsn_nmbr,
ptr.intrchng_cntrl_nmbr AS intrchng_cntrl_nmbr,
ptr.acknwldgmnt_rqstd_indctr AS acknwldgmnt_rqstd_indctr,
ptr.cmpnt_elmnt_sprtr AS cmpnt_elmnt_sprtr,
ptr.fnctnl_idntfr_code AS fnctnl_idntfr_code,
ptr.grp_cntrl_nmbr AS grp_cntrl_nmbr,
ptr.rspnsbl_agncy_code AS rspnsbl_agncy_code,
ptr.vrsn_rls_indstry_idntfr_code AS vrsn_rls_indstry_idntfr_code
FROM pa_request pr, pa_transaction_request ptr, org_unit ou
WHERE ptr.pa_trnsctn_rqst_sid = pr.pa_trnsctn_rqst_sid
AND pr.org_unit_sid = ou.org_unit_sid
AND pr.oprtnl_flag = 'A'
AND ptr.oprtnl_flag = 'A'
AND ou.oprtnl_flag = 'A'
AND pr.pa_mode_type_lkpcd = 'BT'
AND (pr.status_cid = 86 OR pr.status_cid IN
(20, 70, 30, 80, 25, 101, 96)
AND pr.pa_rqst_sid = 75006271
ORDER BY pr.pa_rqst_sid;
the query is not giving result for this particular request sid.75006271 is present in table.833560 wrote:
Hi all,
The following query does not returning rows even though values are there in table.
Kindly let me know why it is creating problem.
thanks, P Prakash
/* Formatted on 2011/05/11 16:44 (Formatter Plus v4.8.8) */
SELECT pr.pa_rqst_sid, ptr.sbmtr_trnsctn_idntfr, ptr.athrztn_infrmtn,
DECODE (ou.org_unit_name,
'PA - MDCH', (SELECT property_value
FROM hipaa_system_defaults
WHERE property_name = 'RECEIVER_ID_1_PA'),
'PA - MPRO', (SELECT property_value
FROM hipaa_system_defaults
WHERE property_name = 'RECEIVER_ID_2_PA'),
'PA - DEFAULT', (SELECT property_value
FROM hipaa_system_defaults
WHERE property_name = 'RECEIVER_ID_1_PA'),
NULL
) AS intrchng_sndr_idntfr,
ptr.intrchng_sndr_idntfr AS intrchng_rcvr_idntfr, ptr.usg_indctr,
ptr.intrchng_sndr_idntfr AS applctn_rcvr_code,
ptr.trnsctn_set_cntrl_nmbr AS trnsctn_set_cntrl_nmbr,
ptr.athrztn_infrmtn_qlfr AS athrztn_infrmtn_qlfr,
ptr.scrty_infrmtn_qlfr AS scrty_infrmtn_qlfr,
ptr.scrty_infrmtn AS scrty_infrmtn,
ptr.intrchng_sndr_idntfr_qlfr AS intrchng_sndr_idntfr_qlfr,
ptr.intrchng_rcvr_idntfr_qlfr AS intrchng_rcvr_idntfr_qlfr,
ptr.intrchng_cntrl_stndrds_idntfr AS intrchng_cntrl_stndrds_idntfr,
ptr.intrchng_cntrl_vrsn_nmbr AS intrchng_cntrl_vrsn_nmbr,
ptr.intrchng_cntrl_nmbr AS intrchng_cntrl_nmbr,
ptr.acknwldgmnt_rqstd_indctr AS acknwldgmnt_rqstd_indctr,
ptr.cmpnt_elmnt_sprtr AS cmpnt_elmnt_sprtr,
ptr.fnctnl_idntfr_code AS fnctnl_idntfr_code,
ptr.grp_cntrl_nmbr AS grp_cntrl_nmbr,
ptr.rspnsbl_agncy_code AS rspnsbl_agncy_code,
ptr.vrsn_rls_indstry_idntfr_code AS vrsn_rls_indstry_idntfr_code
FROM pa_request pr, pa_transaction_request ptr, org_unit ou
WHERE ptr.pa_trnsctn_rqst_sid = pr.pa_trnsctn_rqst_sid
AND pr.org_unit_sid = ou.org_unit_sid
AND pr.oprtnl_flag = 'A'
AND ptr.oprtnl_flag = 'A'
AND ou.oprtnl_flag = 'A'
AND pr.pa_mode_type_lkpcd = 'BT'
AND (pr.status_cid = 86 OR pr.status_cid IN
(20, 70, 30, 80, 25, 101, 96)
AND pr.pa_rqst_sid = 75006271
ORDER BY pr.pa_rqst_sid;
Hi,
Its very difficult to analyse the query without any data being provided. So I suggest you to debug the above query by keeping basic join condition intact and comment out all the other where conditions for initial run.
FROM pa_request pr, pa_transaction_request ptr, org_unit ou
WHERE ptr.pa_trnsctn_rqst_sid = pr.pa_trnsctn_rqst_sid
--AND pr.org_unit_sid = ou.org_unit_sid
--AND pr.oprtnl_flag = 'A'
--AND ptr.oprtnl_flag = 'A'
--AND ou.oprtnl_flag = 'A'
--AND pr.pa_mode_type_lkpcd = 'BT'
--AND (pr.status_cid = 86 OR pr.status_cid IN
(20, 70, 30, 80, 25, 101, 96)
--AND pr.pa_rqst_sid = 75006271If if you have given join conditions proper and if data exists ,you can see set of rows displayed.
Next step is to keep on uncommenting each of the where condition
AND pr.oprtnl_flag = 'A'Like this you 'll come to the condition which does not match your requirement
Hope this helps
Regards,
Achyut -
I want to upgrade the Citadel database with the Logos software. I have download the Logos.zip file from NI, unzipped it and install it on a WIN2000 system with no problem. When I tried to install it on a NT4 workstation by clicking on the "Logos.msi" file the "Open with" popup box appear. Thus NT4 does not recognise the ".msi" file.
Karolus,
most likely you did not install any newer software packages on this Windows NT machine. NT does not have the MSI installer engine preinstalled thus the first MSI based software would install this engine. E.g. if you install Lookout 4.5.1 or 5.0 before you try to upgrade Logos this should not be a problem anymore. Or if you install DSC that means LabVIEW 6.1 before this shouldn't be a problem either.
If you really want to install just Logos alone than you would need to install the MSI engine manually before by executing the InstMsiw.exe from your CD. You might get this MSI engine as well from Microsoft.
Hope this helps
Roland -
How to create a SSRS report with SharePoint 2013 team site's calendar?
Hi I have sp13 and SQL Data Rool (that brings up VS Shell 2010).
I need to build a report where the top part is to have a SP Team site's calendar for up coming week. The 2nd half would be a table with data from that same site. This report would then need to be embedded in a email that automatically sent to several
users on weekly basis.
I have the table data report created form the SP list. How can I get the calendar(display as a calendar that I see in the team site) on to the top part of this report?
Thank you.Please follow this article to write SSRS reports with data source as SharePoint list/calendars etc. All document libraries, list and calendars are derived from base list class so you can use any of this type as a data source
http://www.mssqltips.com/sqlservertip/2068/using-a-sharepoint-list-as-a-data-source-in-sql-server-reporting-services-2008-r2/
Once your SSRS report is developed, you have multiple ways to show it in SharePoint
- upload to SSRS server and show in sharepoint in a page viewer web part or simply open it as a link in new window
- configure SharePoint environment with integration to SSRS and upload report to SharePoint library. Display report in a web part page using SSRS web part.
Moonis Tahir MVP SharePoint,MCTS SharePoint 2010/2007, MCPD.net, MCSD.net, MCTS BizTalk 2006,SQL 2005
Maybe you are looking for
-
Trouble viewing PDF documents on iPad
I have transferred a lot of PDF documents to my iPad, and I am able to read most of them using iBooks. However, some of my documents contains just blank pages when I open them in iBooks after transferring them from iTunes to the iPad. Any suggestions
-
I would simply like to insert two half-circles or half moons in a Pages doc. The current "shapes" does not include half-circles or half-moons. Ideally, I'd like to be able to apply my colour, lines, etc., etc to these half circles and size them. I am
-
Iphoto not displaying front cover photos in my book project
After installing iphoto 11 the front cover page in my book project will not display the photos or the text, how ever the text will display if clicked on and then only 1 line at a time. The photos on the other hand will not. When the photo boxes ar
-
Issue with buffering of APPL1 table
Hi Experts, I have changed the Techincal settings of a Ztable to include buffering. I have selected "Buffering switched on" and "fully buffered" for the same. But still theres no much difference in the performance of the select query. I executed th
-
Hi all, We tried to send an message to the FTP server using B2B. We published the message and it was sucessful. When I looked in the server, the file was missing. We are facing AQJMS exception in the B2B.log file. Please find the below stack trace. P