Summing up an average column in ssrs - sum

I need some help with trying to Totaling a column that is taking an average.
The column has an expression of: =avg(Fields!UOS_2017.Value)
I want to sum this column so I would think I could simply do: =sum(avg(Fields!UOS_2017.Value))
BUT this does not work. The total should be 3,606.
Here are my results
Here is my Design view
Update I am attached a sample of the data that is being used to create the report. Sample Data
Will anyone help me with the expression I should be using or help with a custom code. I appreciate any help.
Thank you in advance.

I'm assuming you have three row groups called something like
VP Rollup, Director Rollup and Cost Center
In this case you need to change your expression to be something like
=Sum(Avg(Fields!UOS_2017.Value, "Cost Center"))
This basically says "take the average at the cost center scope and then sum the results at the current scope (which would be at Director Rollup level).

Related

Power BI: Measure for Date difference depending on other columns

I hope everybody is doing fine! :)
I have a table like the one in my "Example" picture. Let's say it is data about certain products and a certain assembly status (i.e. column "Status"). In "Status Date" I can see the date on which the product has been in the specific status. I only added dates for ID 1 to make the table easier.
Table
What I am looking for is a measure in Power BI to calculate the difference (in days or month doesn't matter) between the dates. I don't want to use the number in the Status (e.g. 1 for Stat 1) to identify the order of the dates. To make it even harder, I may want to filter out Stat 2 for some reason. In that case I want the measure to automatically adapt and calculate the difference between Stat 3 and Stat 1.
I have the feeling that this is possible in a single formular using a measure which would be the optimal solution from my point of view.
I hope there's someone who can help me!
Thanks in advance.
Daniel

Is it possible to display Percentage values group wise instead of total in tableau

My current bar plot looks like :
The percentage is calculated for whole dataset.
I need to know percentage group wise for all income categories.
I am able to achieve the same one by one with the use of filter:
But I need to get the percent values for each group in first barplot.
That is, 77.69% - 22.31% in first diagram.
Any help is appreciated.
Thanks.
I was able to achieve the functionality by right clicking the Text - CNT(Is Churn) and using the compute using functionality :

How to create a sales query in SAP Business One

I would like to create a sales query for the past 12 months that can be reapplied once a month.I would like to do the whole thing with the query generator, but I can not find a table from which the sales emerge. I am familiar with the sales analysis, but I would like to simplify the whole thing. Is there a corresponding table at all or is it possible to create one?
If i understand correctly,
are you looking for .ORDR ? this is the sales order header table.
there is also .RDR1 which contains the row data.
if you go to view, then turn on 'system information' table/field details will be displayed in the bottom left.
regards,

How to show totals of a measure if the dimension is not part of the fact table in OBIEE

I hope someone has a clue how to solve this issue.
I have two fact tables one with revenue per company, year, catalogue_no and revenue and the other with company, year and customer_base.
I want to combine these measures in an analysis but the catalogue_no is not part of the customer_base table.
What I've achieved so far, by setting the right levels in BMM, is that I can put the catalogue_no in the filter criterias and get the result that all figures are shown correctly.
As soon as I place the dimension catalogue_no into the selected columns the customer_base is only blank.
See the picture for Explanation. Link
You have to put the content level for the non-conformed dimension to the "Grand Total" level

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.