Saikat1
Occasional Member - Level 2

Calculating age of CC transactions in cognos report 'Unsubmitted or unassigned CC transaction'

Hi Team,

 

I am trying to modify standard report 'Unsubmitted or unassigned CC transaction'  .  I want to calculate how much aged that transaction is (i.e. days between current date and posted date). I applied this condition add added a data item : 

_days_between (current_date,[Expense].[Credit Card Transactions].[Posted Date])

 

This one not getting added in sub queries unsubmitted or unassigned. So I added in main query, it is added without error. But when I am trying to add in in main page its giving an error like below :


Cross joins (between query subjects: Union1, [Credit Card Transaction Tables].[FCT_CCARD_TRANS Posted Dim_Date]) are not permitted for the user who has the identity '*'.

 

Can you please suggest any solution to this how I can calculate aging of transaction here and add in this report(modified unsubmitted or unassigned cc report). 

1 Solution
Solution
KevinD
Community Manager
Community Manager

@Saikat1 did you remove the ranking, as I mentioned?


Thank you,
Kevin
SAP Concur Community Manager
Did this response answer your question? Be sure to select “Accept as Solution” so your fellow community members can be helped by it as well.

View solution in original post

8 REPLIES 8
TammyK
Super User
Super User

This is a great question.  I struggle with creating the exact type of report you mentioned.  Currently I just use google to calculate over 60 days/over 90 days, then I manually add comments to my excel file of which cardholders are extremely delinquent.  I feel old school doing this aging manually.

KevinD
Community Manager
Community Manager

@Saikat1 I don't think you can add it to the main query. No error when adding it to the main query is not an indication that it should work. I've reached out to a colleague on the Reporting team. I'm waiting to hear back.

 

I tried going into your site to look at the report, but when I went in it showed you had the Analysis offering and not Business Intelligence. I also tried to see your Cognos permissions, but nothing came up. Your reporting offering and roles must be administered some other way. 


Thank you,
Kevin
SAP Concur Community Manager
Did this response answer your question? Be sure to select “Accept as Solution” so your fellow community members can be helped by it as well.
KevinD
Community Manager
Community Manager

@Saikat1 the expression you have is correct. You must add it to the Unassigned and Unsubmitted queries separately. Once added to each of these queries, you can then the data item to the Main Query, by selecting the main query, then use the source icon. See screenshot. 

 

We found that the assigned ranking caused the report to error after adding the expression, so if you don't care about the top 10, you can remove the rank expression. You will see this under Summary Filters when you are viewing the Main Query data items.

 

I hope this helps. Good luck. 🙂 

 

KevinD_0-1752780575570.png

 


Thank you,
Kevin
SAP Concur Community Manager
Did this response answer your question? Be sure to select “Accept as Solution” so your fellow community members can be helped by it as well.
Saikat1
Occasional Member - Level 2

Hi Kevin @KevinD ,

We continue to get same error if I add in unsubmitted and unassigned. The expression I am using is this: 

 

_days_between (current_date,[Expense].[Credit Card Transactions].[Posted Date]) both in unsubmitted as well unassigned. Posted date field I used in both sub-queries.  

Solution
KevinD
Community Manager
Community Manager

@Saikat1 did you remove the ranking, as I mentioned?


Thank you,
Kevin
SAP Concur Community Manager
Did this response answer your question? Be sure to select “Accept as Solution” so your fellow community members can be helped by it as well.
Saikat1
Occasional Member - Level 2

Hi @KevinD yes I did. I removed but still same issue.  

 

Sorry by mistake accepted your reply as solution but issue still same adding to unassigned or unsubmitted .

KevinD
Community Manager
Community Manager

@Saikat1 hmm...my colleague and I did actually walked through this yesterday and didn't have an issue. I'd have to guess that possibly you didn't add the expression correctly. It is difficult to provide help without seeing the actual report. Could you possible take some screenshots for me of your queries, please?


Thank you,
Kevin
SAP Concur Community Manager
Did this response answer your question? Be sure to select “Accept as Solution” so your fellow community members can be helped by it as well.
Saikat1
Occasional Member - Level 2

Sure please find screenshots.

 

Saikat1_0-1752857828529.png

unsubmitted before adding the field .

Saikat1_1-1752857877931.png

unsubmitted after adding  

Saikat1_2-1752857922841.png

Unassigned before adding

Saikat1_3-1752857964660.png

Unassigned post adding. 

So this is the problem I am facing while adding fields to subqueries. If I add this to main query without subqueries no issue.