How to update a report which gets data from another report?
Hello.
I build a report with a query like this:
select UniqueIdentifier, Name, Product, Brand, Cost, Source from tableA where DestinationId = {?}
I published this report with the setting Use as View On, in Report Settings.
I build more reports using the first one. For each one, I use UniqueIdentifier as a Filter to get a single row. For example, for one report, I set the filter for UniqueIdentifier = 1. By doing this, I can create several Text Charts, one with Name, another with Product,...
My problem starts at the dashboard level. After adding the first report and setting the filter to it, I add the remaining reports, the ones dependent of the first report. When running the dashboard, i input a value to the filter and the first report shows the data, which match the value of filter, but the other reports don't show any data.
Can you identify the problem to this issue?
Note: If I define a value to the filter of the first report while creating or editing it and then publishing it, I can get data for the dependent reports. Nevertheless, if I change the value of the filter, at the dashboard level, those reports will not update their values, remaining static.
Hello Tiago,
My name is Deepak Chaganti from the Yellowfin Technical Support Team. We have received your support request, and I will be your primary contact on the following ticket:
Ticket Number: #31586
Case Title: How to update a report which gets data from another report?
Request for Additional Information:
To better understand and expedite the resolution of your case, please provide me following details:
https://community.yellowfinbi.com/topic/how-to-get-the-info-jsp
Kindly provide more details on the actual expectation of the dashboard so that I can try and implement the same on my local machine to see if there is any way to achieve it.
Sincerely,
Deepak Chaganti
Yellowfin Technical Support Engineer
Hello Tiago,
My name is Deepak Chaganti from the Yellowfin Technical Support Team. We have received your support request, and I will be your primary contact on the following ticket:
Ticket Number: #31586
Case Title: How to update a report which gets data from another report?
Request for Additional Information:
To better understand and expedite the resolution of your case, please provide me following details:
https://community.yellowfinbi.com/topic/how-to-get-the-info-jsp
Kindly provide more details on the actual expectation of the dashboard so that I can try and implement the same on my local machine to see if there is any way to achieve it.
Sincerely,
Deepak Chaganti
Yellowfin Technical Support Engineer
Hi Tiago,
My name is Chris McCarthy and I'm taking over from my colleague Deepak on this ticket as I'm based in the UK. How are you?
Shall we set up a call for this week to take a look at your report and I'll try to assist where I can.
Does Thursday at 11am GMT work for you?
Kind regards,
Chris
Hi Tiago,
My name is Chris McCarthy and I'm taking over from my colleague Deepak on this ticket as I'm based in the UK. How are you?
Shall we set up a call for this week to take a look at your report and I'll try to assist where I can.
Does Thursday at 11am GMT work for you?
Kind regards,
Chris
Hi Chris.
I am fine. Thanks. And you?
I am available Thursday. It is schedule.
Thanks.
Best wishes,
Tiago
Hi Chris.
I am fine. Thanks. And you?
I am available Thursday. It is schedule.
Thanks.
Best wishes,
Tiago
Hi Tiago,
All good, thanks. Here's the meeting invite for Thursday:
________________________________________________________________________________
Microsoft Teams Need help?
Join the meeting now
Meeting ID: 462 111 755 44
Passcode: 5Pd6mE9F
For organisers: Meeting options
________________________________________________________________________________
See you then.
Kind regards,
Chris
Hi Tiago,
All good, thanks. Here's the meeting invite for Thursday:
________________________________________________________________________________
Microsoft Teams Need help?
Join the meeting now
Meeting ID: 462 111 755 44
Passcode: 5Pd6mE9F
For organisers: Meeting options
________________________________________________________________________________
See you then.
Kind regards,
Chris
Hi Chris.
See you tomorrow.
Best wishes,
Tiago
Hi Chris.
See you tomorrow.
Best wishes,
Tiago
Hi Tiago,
Thanks for your time and patience on our call just now.
We took a look at this problem and attempted to link the filters for these reports in the dashboard but that didn't work as already decribed earlier in the ticket.
Your setup is that you've got a freehand SQL report that is being used as a view. It has a mandatory filter, which is also a declared parameter, for an NHS number and another filter so only one result is shown at a time.
The data source is SQL Server.
We realised that the report based off this view didn't have the NHS number filter added so we opened up that report and added the filter. However when running the chart report, we ran into a null pointer error, which I've copied below:
We spoke about how you are using the report as a view feature for efficiency reasons - you stated that by using a parameter with a required filter value, it's faster than polling all of the data.You've sent me the SQL used in this report-as-a-view.
I'm doing to do a bit of research into this error message and ask the developers to see if we've discovered a bug here or need to come up with an alternative solution.
I'll get back to you in a few days with an answer.
Kind regards,
Chris
Hi Tiago,
Thanks for your time and patience on our call just now.
We took a look at this problem and attempted to link the filters for these reports in the dashboard but that didn't work as already decribed earlier in the ticket.
Your setup is that you've got a freehand SQL report that is being used as a view. It has a mandatory filter, which is also a declared parameter, for an NHS number and another filter so only one result is shown at a time.
The data source is SQL Server.
We realised that the report based off this view didn't have the NHS number filter added so we opened up that report and added the filter. However when running the chart report, we ran into a null pointer error, which I've copied below:
We spoke about how you are using the report as a view feature for efficiency reasons - you stated that by using a parameter with a required filter value, it's faster than polling all of the data.You've sent me the SQL used in this report-as-a-view.
I'm doing to do a bit of research into this error message and ask the developers to see if we've discovered a bug here or need to come up with an alternative solution.
I'll get back to you in a few days with an answer.
Kind regards,
Chris
Hi Tiago,
Quick question to clarify a couple things about this:
If you return the report you're using as a view to show a value, does the error go away in the report that's used to show a chart? Does the NHS filter then work in that report?
I believe we looked at this one the call, but if you have the parameter unset in the report/view and then use the NHS field as a filter, it does bring through results correctly, is that right?
I think this error we're seeing might be because the report that's throwing it might be expecting a value from the NHS parameter but as it's just a parameter it ends up being an empty string.
Kind regards,
Chris
Hi Tiago,
Quick question to clarify a couple things about this:
If you return the report you're using as a view to show a value, does the error go away in the report that's used to show a chart? Does the NHS filter then work in that report?
I believe we looked at this one the call, but if you have the parameter unset in the report/view and then use the NHS field as a filter, it does bring through results correctly, is that right?
I think this error we're seeing might be because the report that's throwing it might be expecting a value from the NHS parameter but as it's just a parameter it ends up being an empty string.
Kind regards,
Chris
Hi Tiago,
On some further experimentation, I was able to replicate this against a freehand SQL view on my own SQL Server connection using a simplified version of your SQL.
I'll submit it as a bug for review but it may be that this is impossible as you either need to define a default value for a parameter and reports built off that will always use the default parameter value, or you put the freehand SQL into a view and avoid using the declared parameter.
Kind regards,
Chris
Hi Tiago,
On some further experimentation, I was able to replicate this against a freehand SQL view on my own SQL Server connection using a simplified version of your SQL.
I'll submit it as a bug for review but it may be that this is impossible as you either need to define a default value for a parameter and reports built off that will always use the default parameter value, or you put the freehand SQL into a view and avoid using the declared parameter.
Kind regards,
Chris
Replies have been locked on this page!