I am new to spotfire. I have a scenario that I should create a stacked bars based on the days. the days column contain numeric values. if days = 0 -> met, if days>0 not met and if days?<0 advanced. based on this condition I need to generate stacked bars using spotfire.
can anyone help me please ? I tried some conditional concepts which did not worked for me.
Related
Good day all,
Please am trying to create a SSRS report that looks like the image below
i have my table structure in this manner
Please note the data are not in relation with the chart
But all i could get as a result is a multiple bar chart. that resembles the image below.
Thanks in anticipations of your response
First of all, your "Balance on COC" is negative. That's probably not just a chart visualization issue.
You can format the numbers on the y-axis to be more readable like they are in your first screenshot. Click on the Chart Axis and set the LabelsFormat property to #,0;(#,0).
While numbers in the chart can have up to 16 digits, that is highly unreadable for most people. You might want to consider visualizing the numbers in Billions instead.
To get the labels on the x-axis you'll need to set that field as the Category Group. Then you can delete the legend area from the chart. You can also remove the "Axis Title" areas since they are not needed in this case. This will all make it look more polished like the other image.
it's my first ssrs Chart. I made a chart data with 3 values and a date category group. It gives something like
my client would like the same chart but by grouping all 3 bars in an unic bar with 3 existing colors.
any help would be greatly appreciated
Thanks I found it. I had just to change the chart type to stacked column
I am new to using SSRS. I have looked around Stack Overflow for answers to this question but haven't found it.
I am producing a simple report but wish it to be filtered to not display the result if it is a duplicate set of results.
Basic report
A lot of forum posts mentioned using code similar to the following to be set in the visibility of the Table Properties.
=IIf(Previous(Fields!Country.Value) = Fields!Country.Value, True, False)
However this didn't work. I then tried going to the properties box of the country to hide duplicates and this kind of worked. It removed duplicates if they were only in the next row and unfortunately it just made the cell blank.
Attempt at hiding the duplicate rows
What I wanted is to just display the list of unique values where the reference and the country are never repeated. This way I will get a list of countries for my reference.
Many thanks in advance to anyone who is able to help a new learner like myself.
I am adding in the edit suggested by Alejandro below,
It sort of works, the suggestion did remove the blank rows (which became blank when I applied the HideDuplicates from the properties of the country. The trouble is the report is only hiding duplicates if they come from the previous line. I tried grouping etc but it did not work.
Try selecting and setting the hidden property to the whole row.
UPDATE:
Using the expression works only if the Country column is sorted, so repeated countries will be in contiguous rows.
Go to tablix property and add a sort by Country property. Don't use HideDuplicates property but use =IIf(Fields!Country.Value = Previous(Fields!Country.Value), True, False) expression in the whole row.
It should work.
Let me know if you need further help.
It sounds like you just need to group the dataset, no?
If you open the row group properties, set it to group on Reference and Country.
Here are two tables... the first has no grouping and so there are repeats. The second is grouping by Reference and Country.
I've managed to create a report template and use it inside another report, as a method of replicating a "template"...
The filled template is like this:
As you can see, this is not a wide template, and i can fit 3 of it on a regular page... my problem here is that the best i could achieve so far is vertical replication!!!
What i'm looking for here is a way to say "fill all the 'columns', then, move to the following line"
Anyone ever managed to do this?
Details:
Using SSRS 2008 R2
Using BI tools for VS 2013
There are a few ideas that spring to mind.
Add three columns to the report via the Report.Columns property and have the detail fill top to bottom then left to right. (This may not be ideal as you stated you want a left to right, to bottom flow).
Duplicate any number of mailing labels samples on the internet substituting your sub-report as the detail.
Create 3 Table's with three detail data sources and have the data source return the id's for your sub report ordered in a Take(1) Skip(2) left to right, up to down fashion, basically three partitions of data ordered by some value.
Create a Table with three columns and place a sub report in each column. Have the data return in a A-B-C | D-E-F | G-H-J fashion.
Create a Table with one column and place a column group on a value that will return 1-3 for your detail records, pushing your columns out to desired column width.
Could anyone help me with a Spotfire issue?
3 data types are avalialbe. Locations(sting), areas within these locations(string) and sum of hours associated with the areas and therefore the locations.
Objective: I'm trying to show data value axis: sum of hours, category axis - top 10 areas (sting data). I want to do this for all the locations available (trellis by location) and sort the bars descending in sum of hours, all in one bar chart visualisation. When I did this with trellis, Spotfire essentially trellised the original graph, i.e. to show where the top 10 sum of hours are distributed throughout the locations. This is not what I want - I want a dynamic category axis that will show me the areas of top 10 largest sum of hours per each location.
How do I do this? My idea was that maybe I could add a custom expression to the category axis before trellising or to add a calculated column to help, but I'm not sure how exactly this could solve the problem. Could anybody help?
Did you try the 'Sort bars by value' option ?