Dependent filters in Webi report - sap

I've created a webi report which displays a graph of Total revenue per day, Date is on X axis and Rev is on Y axis.
I've a requirement where the client wants to see it category and sub category wise in the same graph. I've used Filter Bar option and dragged Category. This works fine and displays the revenue for the selected category on a daily basis.
Now I added another filter Sub-Category which should display only the list of sub-categories associated with the Category selected but in turn displays all sub-categories irrespective of the category selected.
Is there a way to link those two filters?
Thanks,
Vijay

Hopefully It might be helpful to someone just in case...
I've created a custom navigation path in my business layer and used it in my webI.
Thanks,
Vijay

You can create another report sub_report to collect all categories and sub categories
Then you add this sub_report to master report by insert sub_report.

Related

I have to get several categories names selected by user in NotesUiView. Is it possible?

I want user to select several categories in categorized view by mouse left-click, so I can write a script to print documents that belongs to different categories without selecting every document.
I have to get selected categories names by lotusscript. Is it possible?
I can get one category name:
Dim ws As New NotesUiWorkspace
Dim uiView as NotesUiView
Set uiView = ws.CurrentView
Dim category As String
Set category = uiView.CaretCategory
But how can I get several categories names, if user selects more than one category?
screen example
Simple answer: you can‘t...
unfortunately there is no way at all to get selected categories, neither by LotusScript not by any other means..
the most you can get is a NoteId... but although it increases when selecting categories further down the view there is no way to map this random id to a real category. I tried for weeks and weeks and used any trick I can think of (and there are a lot of them, as I work with Notes / Domino since 25 years now), but I could not find any workaround.
Sorry to say: you are stuck with this approach... you could show a dialog form with a #DbColumn() on the categorized column and let the user select from a DialogList item or whatever pleases you. But selecting / identifying more than one category in a view is not possible (unless you select the documents belonging to the categories and read the values from them).
As far as I know, this isn't possible in the Notes client, though you could do it with a custom web interface.
There are no officially documented APIs to get all selected categories in Notes.
NotesUIView.CaretCategory, which you have in your code, only gets the category for the selection rectangle, so it only works for a single selection.

Value only showing the first item in SSRS report

So my problem here is that I have a Part number which lives in two warehouses hence it has two bin locations. If I just use =Fields!PrimBin.Value it only ever returns the first location. I need to display the PrimBin if the location is from a specific warehouse. To get the warehouse I use =Fields!WarehouseCode.value
What I need to do is only show the PrimBin.Value of MAINWHSE and not CELLWHSE
Thanks in advance.
Ok so the database it quite vast. However, for the information required I am using two tables. Part and PimWhse.
Part shares the Product ID to PrimWhse. In PrimWhse each partID has two locations "MAINWHSE", "CELLWHSE "and 1 bin to pick in each warehouse giving to possible locations.
So WarehouseCode.Value will have the information for which warehouse the part is located. and PrimBin.Value will have the warehouse position ID stored in it.
This is all setup via report style within the Epicor system. When I create a query in business activity to look in MAINWHSE it shows the correct information.
However, in the report data builder I'm not able to set this query so I assume SSRS will be able to see of both theses possible values for PrimBin.Value!? If not I guess I need to work out how to add a query to report data builder, which at the moment does no seem possible?
Thanks again.

Categorical Variable content in world map in tableau

I have listed a sample data set. I need to get details of the different elements in the categorical variable over the map while hovering over the countries.
--Dragging and dropping the categorical variable just displays the values for the first element.
the variables used are:
country (geographic)
sales (numeric)
furniture (containing 'table' and 'chair')
I need to get details of sales of chairs and tables over the country on the map while hovering over the countries.
Thanks for the help
the sample data set as seen in the image
I would use the creating a graph in a tooltip hack to solve this problem. The issue is that the Level of Detail of your data does not support the visualisation you want to make.
Do the following:
1) Create cohort calculated fields: You need to separate a measure so that it is specific to one member in a dimension (basically a cross tab).
For you this means creating a calculated field per furniture type.
e.g. Chair Sales Cohort =
if [Furniture] = 'chair'
then [Sales]
END
Repeat this for each furniture type
You can then drag each of these onto the tooltip pane and you will have tooltips :)
If you wanted to get fancy follow step 2 and 3 from this link to make it a bar chart instead of just a number in a tooltip. make a bar chart in tableau
Good luck !

Tableau - Adding dimensions together to show overall revenue

I am very new to Tableau (first day user) and have been a long time Excel user. I am trying to fully understand the power of Tableau to eventually move away from Excel.
I have a question concerning dimensions and creating a calculated field.
My table has multiple categories and sub-categories. My goal is to display the total revenue and average order value per chosen sub-category (this seems easy enough).
I want to then take those sub-categories and show a combined sum of revenue and average of the average order value. I am stuck on trying to also combine these sub-categories to show a blended view.
Furthermore, the 2 sub-categories are weighted very differently. The average order value of 1 has a much heavier weight than the other and will definitely affect the AOV when combined. How do you also assign a weight to this combined total?
Any help will be much appreciated. I know this may be a rather simple solution but I am new to the program and am having difficulty finding this answer.
Tableau screen:
or
img1 http://postimg.org/image/dq5wqgnyl/
Best,
CR
Put sub categories in the rows column.
Put sum revenue in the text pill in the marks section
In the analysis tab on the top select column grand totals.
I'm unable to see your images,i hope this answers a apart of your question.

OpenERP 7: How can I add a listview with stock locations in product form view

how can I add a listview with the stock locations of the product in product form view. Or maybe somebody knows a function that returns the stock location ids of an given product?
Thank you.
In openerp no such king of function to give ids of product location.
But in openerp function to get how much product available in this location.
If want to get location ids of give product then you have to make your own functions.