How to get checkbox with hierarchy filtering in Spotfire to work? - filtering

I am trying to insert a hierarchy filter in spotfire as shown in http://stn.spotfire.com/spotfire_client_help/filter/filter_what_is_hierarchy_filter.htm.
Region District
Region 1 District 1
Region 1 District 2
Region 2 District 1
Region 2 District 2
I am brand new to spotfire, so any help is apprecaited on how to do this. Thank you.

you were almost there. at the bottom of the page you linked is the documentation to create a hierarchy filter.
go to Insert ยป Hierarchy... and add your columns in order you like (in this case, you should use Region, then District).

Related

Crystal Reports - Checking for a row in a table based on criteria from two different columns

I have a table of jobs, with columns showing which engineer the job is assigned to and the area of the country, which can be simplified like this:
JobNumber Area Engineer
1 A 3
2 D 1
3 E 2
4 B 2
5 A 1
I have a table of engineers, and a table of areas of the country.
I have a final table which shows the areas of the country each engineer is assigned to, like this:
Area Engineer
A 1
A 2
A 3
B 2
B 3
What I need to do in Crystal Reports, is create a formula field (or similar) to show whether or not the engineer was in one of his assigned areas.
I think the reason my efforts thus far have failed is that the join is effectively circular. I have played around with SQL Commands and join options to no avail.
Can anybody offer advice on how I can solve this problem?

Tableau, color-coded bar chart not working

Public workbook here. Source is Excel file.
I was able to create ordered bar chart based on (1) Location (2) Product
When I drag Above Three into Color, the graph is incorrect, how to troubleshoot?
Update
I made change such that Calculation computers based on Product, Above Three for each Location, at level Product.
However, Morton's still shows error.
The order in Mortons should descend, based on number of records, i.e.
Dark Chocolate
Beer
Toffee
Coffee
Fries
Rest of the Locations are correct, but only Mortons gives out-of-order products
Update2
Calculated Field Calculation3 = Index()
And I filter Calculation3 for 1 to 3, to display top 3 products
If I remove Calculation3 from filter, it gives correct order but it give ALL products, not the top three popular products (per Location).
I updated workbook to illustrate this. Please advise.
I don't know the purpose of the Index() field but that is creating your issue. Remove it from rows and the color appears to work the way you want it.
I hope this is what you are looking for
I have also published the file at the below address. You can take a view on that.
Tableau Wokbook
I achieved it by the following methods.
I changed the Calculation 3 field from Index() to RANK(SUM(NUMBER OF RECORDS)).
The calculation 3 was kept in between Location and period then edited the table calculation of calculation 3 by keeping the Addressing of the edit table calculation, having only the location and product as shown below and then Set the restarting every to Product.
You can check the workbook for more information

IBM Cognos - How can I place 2 crosstabs under 1 section?

I'd like to have two crosstabs grouped with 1 section similar to this
Region A
Crosstab1
Crosstab2
Region B
Crosstab 1
Crosstab 2
Region c.... etc..
How can I accomplish this?
Thanks!
Create Crosstab 1
Section on Region
Unlock the report
Create Crosstab 2 underneath Crosstab 1, but within the "Section" container
Create a Master-Detail relationship in Crosstab 2 to match Crosstab 1 (I find it's useful to turn the icon for these on via Tools->Visual Aids
Note the Crosstabs will format separately; you may find adding fixed widths on the columns may help presentation

SSRS 2008 Charts: Selective Filtering on Charts within a chart

I have 3 Chart Series A,B,C of Data on single Chart
Normally When I apply filter on single series,the filter takes affect on all 3 series A,B,C .What I need is someway to apply particular filter on Series A,B but not C
like i have billable status as billable, non billable and partial billable.
i want two columns in the chart. 1 depicting only non billable employees and 1 showing the total of all billable status i.e., the whole team size.
my category axis has month.
i am not able to apply selective filters for one column of the two that i require.
please help.
You wont be able to do what you want, because each series/category is a subset of your dataset, meaning that if you group by "all" then all elements of your data set will fall into that category.
The best way to achieve what you want is on the query that creates the dataset do a Union with the total of employees, something like:
SELECT 1 as NumberEmployees, SSN, BillableStatus FROM mytable
UNION
SELECT COUNT(*), 0 as SSN, -1 as BillableStatus FROM mytable
Then when you'll have a status -1 that corresponds to all employees, and will appear on the chart as a different bar

How to show categories and sub categories in view page and select menu in zend frame work

i'm having the table like
category_id category_name parent_id
1 General Grocery 0
2 Ready to eat 0
3 rice 1
4 oils 1
5 flour 1
6 seed 1
7 testing cate 0
8 testing 5
i want to display the categories with "n" number of sub categories in subcategories. My main moto is by using the array generated by the code i want to display in view page and the select menu in the zend form. I found the code in php. but i'm unable to use that in zend. Can some one help me out with this please.
Thank you.
I think you need to generate a tree.. so there are two known patterens to me
adjacency level pattern
Nested Level Patteren
I suggest you to use Nexted level pattern
If you follow the given below two links you will surely come to know what to do.
http://blog.richardknop.com/2009/05/nested-set-model/
http://baobab.sideralis.org/
By this you can generate appropriate tree. now you have to generate a tree in which you can select your items. so you should use this tree http://www.dhtmlx.com/docs/products/dhtmlxTree/index.shtml
you can keep checkboxes to select the items and store in the database