SSRS Charts Legend Series 1 - sql-server

I am stuck with one of the most irritating problem of SSRS. In my chart, I am displaying all months for months with data and without data. Reason being User wants to see all the months.
now where there is no data in any month then in the legend, SSRS is by default putting Series 1(dont know why called it Series 1)
Instead it should display "Declined", "Re-Directed", "Upheld" but what I am getting is
"Series 1", "Declined", "Re-Directed", "Upheld"
http://imgur.com/abWGg67
http://imgur.com/22yFYta
My problem is, User wants to see months with no data but she is not ready to see Series 1 in the legend and I have tried everything but couldn't figure out the solution.
Please help:

I know it's old but I found another way to hide Series1 on the chart.
Click on a Series
Go to the Properties pane, Appearance > (Hidden) option.
Click on the Expression button (looks like Fx)
Enter in the following:
=IIF(IsNothing(Fields!GROUPING_OPTION.Value)=TRUE, TRUE, FALSE)
Please see this image for an example:
ScreenshotOfMyReport
Sorry- I don't have enough reputation to embed the image yet.

I found the answer to my question. I have updated my Stored Procedure. I wrote a Case Statement in Stored Procedure stating that where it's blank in the chart then show it as a 'No Data Yet' in the Legend.
http://imgur.com/seVxA5Z
Image might explain better :)

Related

How to show more fields on custom object tabs in Salesforce?

Ok so this problem is probably easily solvable, but since I am a beginner in Salesforce and I didn't find anything useful on Google, I am asking if someone can please help me.
So, as you can see, I have created a custom object called Students, and added some fields to it.
Next, I have created a custom object tab, called Student, as you can see on the following image and added some records.
On the custom object tab, only field 'Student Name' is shown. Does anybody know how to display all (or some) of the fields that were added to the object Student?
Thank you so much for your answers and have a great day :)
On the far right of the 2nd screenshot there's a gear/cog icon. Use it for o create new "list view". Or click that "recently viewed", change it to "all" (there should be an auto-generated one for you) and use that gear icon to select which fields to display.
You can even pin the list view to be your default if you don't want "recently viewed".
As for recently viewed itself - it's special, the gear icon won't work. Follow this article: https://help.salesforce.com/s/articleView?id=sf.customize_recent_records_list_lex.htm&type=5

unable to display the table which contains "message data" to chart while clicking on the particular part

When we click on a particular month in a chart then it need to display depends upon the specific month and the same "constant.js". Could you please help me in this to display some of the data in table?
As I can see the value of this.props.messages is undefined. So that's why you are not able to display records in table. Because you are trying to pull data from this.state.messages and it's undefined.
Once you fix it then it will auto display in the table.
Here I have created working demo for you.
https://codesandbox.io/s/prod-pine-krhfq

How can I manipulate the date shown in the headers of a anychart resource gantt when there is no data to be loaded

We use the anychart GanttResource chart to show Technicians with their tasks on a daily base. To do this we use a DateFilter outside the component to load our data. Then when the data is retrieved from the API we set this data to the chart. As long there is data retrieved there is no problem, the chart fluently goes to the chosen day and only shows this data. However when the API returns no data or a 400, we add an empty list to the chart data. This looks ok at first, but when looking better to it I noticed the chart defaults back to today as date to show in the header. How can I manipulate this so the selected filter date could be shown there?
Anyone any suggestions about how to get this result? I can't seem to find a functionality or such to set the timeline date to use.
If my explanation is unclear then please let me know so I can elaborate any further or provide any screenshots to make it more clear.
It's not possible to zoom to some period of time when you don't have any data. But you can add an auxiliary element (e.g. a marker) to the data, and you'll be able to set the timeline zoom to a specific range. After you get the real data, the element can be deleted. Please check this sample: https://playground.anychart.com/uZ3gynNU

SSRS mobile reports display date

I am sure this should be simple but can't find it answered here.
I am creating some mobile reports and all going well, but I want to add a field that holds a date time (last sale). So far all my fields are shown in gauges, but I can't show a date or string in a number gauge (i don't think). There is a time navigator and selection list filtering the data in the gauges.
I tried creating a simple data grid with one field in it, but doesn't look great with the column header etc.
Any suggestions?
Thanks

Print Format SSRS Report For Excel Export

I created a SSRS Report and I am Exporting it to an Excel Sheet. I am manually print formatting the excel sheet every time I want to print it.
The width of the report that I've created is slightly bigger so every time I print the excel sheet I go to Page Layout --> and set Width to 1 page.
Is it possible to do this in SSRS itself so that I don't have to make any manual changes to the excel sheet when I export.?
I googled, Couldn't really find any solution.
Layout of my report -
Other problem I am facing is -
When I export the SSRS report the footer doesn't exported properly
Check This -
The date doesn't get exported and I want the 'ABC' to appear in the center box but both date and the text appears in the same box.
This is how my footer looks in ssrs -
Please help. TIA
Regarding the issue with your Footer. It is exported to Excel, but you will not see it on the sheet like you do with the rest of the data. It uses the built in Footer functionality so that it can be repeated on every page.
Go to the Insert menu and click Header & Footer. You should see the footer like this:
Also, if you go to the Print Preview, you'll see that the footer is indeed repeated on each page.
Regarding the width issue, make sure you take the page margins into account when calculating the width of the report. These can be adjusted in the Report Properties. By default they are set to 1 inch on either side. So right off the bat you may be loosing 2 inches of space.

Resources