How to create report using database view?

shrinivasprasa1
Tera Contributor

Hi Community,

Good day!!!

We have requirement that to create report where report contains Escalation number(which is in the sn_customerservice_escalation table)and all the all the fileds which are present in the sn_customerservice_case table,

i have created database view but i cant see data in it i hope i have missed the where cause anyone kinldy help on the condition.

 

shrinivasprasa1_0-1725966365934.png

thanks in advance,

shrinivasprasad

13 REPLIES 13

Hi @shrinivasprasa1 ,

I am able to get some data in my report , please see below screenshots:

Anubhav24_0-1725974664593.png

Database View definition:

Anubhav24_1-1725974700394.png

Please mark helpful/correct if my response helped you.

Are you getting both table data in single report

number filed from sn_customerservice_escalation table and all the fileds from sn_customerservice_case table?

@shrinivasprasa1 

I have not customised the columns , I just created a database view and ran a report on it. If you have modified the columns I would suggest to first create the view and run a report and then modify the columns. Even before creating the report you can just try the view to see if it returns any data or not. Try it and update us.

 

AndersBGS
Tera Patron
Tera Patron

Hi @shrinivasprasa1 ,

 

Why a database view? You can just create a report based on the sn_customerservice_escalation and then dot-walk the source record to have fields from the sn_customerservice_case table? This will give you what you're looking for whiteout the need of database view. 

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.

 

Best regards

Anders 

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/

Hi @AndersBGS ,

 

Thanks for your reply, i tried it but i cant see escalation number in left bucket.

 

shrinivasprasa1_0-1725971956675.png

 

 

Thanks