Display count in ADF pie chart - oracle-adf

When we create a pie chart in ADF (12.2.1.0.0), we get the pies that represent percentages.
e.g if we have a chart by job Id and salary, it shows the percentage of salaries for that job, but
1) How can we display the count of values(number of salaries) in that pie?
2) how can we display the value (total of salaries) in that pie.?
Thanks

Create a view object that uses queries to get the data you want and then base your chart on that VO.
Something like
Select count(Salary), DepartmentId
From Employees
Group by DepartmentId

Related

Power BI - How do I get a COUNT of how many Customers have selected "Dairy Milk"?

My data looks like :-
enter image description here
I want to understand how many Customers have selected "Kit Kat", How many have selected "Munch" and so on like :-
enter image description here
How could I achieve something like this in Power BI?
You need to first make some conversion using unpivot other columns on the power query editor.
With [customer] column selected, Select the unpivot other columns.(See the below picture)
After changes, Your table will look like this:
Then Write this simple DAX Code:
CountOfSelection =
COUNT(Preference[customer])
If you test it:
You need to filter the blank row not to show its values if you prefer using filters pane, see below picture:

Calculate the Average Sales per Shop with VEEML

I've got a dataset with a column containing the id of the shop, another column with the EAN code of the product, and another column containing the quantity sold.
I create a Dataview in VEEML to link that to a calendar with the months and the year.
Can I create a metric on that Dataview to get the average quantity of sold items per shop, per months, years, etc ?
All the filters, dimensions and metrics used by a story could be edited in the pop-up "Datafields".
At the bottom of the left menu, click on the database icon to open the datafields options.
Search the field containing the quantity
Expand that field
Fill the textbox with the right SQL ANSI calculation. Don't forget to add a name at your metric at the end of the calculation using the "as name_of_the_metric"
Check the checkbox Is Metric As
Here, your calculation can be something as :
SUM(Sales_Quantity)/COUNT(DISTINCT ShopId) as Avg_Sales_Per_Shop
In each chart or grid, that calculation will be applied dynamicaly for each level of the dimensions in that chart.

How can I add multiple metrics in a pie chart using Google Data Studio?

I have 4 column:
Company name
Work done
Work to be done
Revenue
Columns 2, 3 and 4 (Work done, Work to be done and Revenue) are currency expressed in Eur format.
I need to represent this data in a pie chart as 3 different slices (column 2, 3 and 4).
You will need to convert Work done, Work to be done and Revenue to categorical values in a single column, e.g. something like this:
Company name
Type
Amount
a
Work done
€100.00
a
Work to be done
€200.00
a
Revenue
€400.00
b
Work done
€200.00
b
Work to be done
€200.00
b
Revenue
€400.00
This GDS dashboard generates a pie chart using a Google Sheet datasource with these columns and rows. The pie chart dimension is Type and the metric is Amount. Make a copy of the dashboard to see the chart configuration.

In Data Studio - Create a pie chart from several columns

So I have a database with 5 columns:
Project
Total budget
Authorized to assign
Assigned
Paid
Columns 3, 4 and 5 sum up the total budget; thus each is a part of the total.
I would like to create a pie chart showing the percentage in each step. Would it be possible?
The pie-chart takes 1 dimension and 1 metric so you'll need to transform your data to have the labels in one dimension column and the values in a metric column for it to work in pie-chart format

qliksense: measures are not showing the right numbers

Qliksense measures issue:
I have a report basically containing a table with data coming from purchase invoices with the following fields:
creation_date
expect_Rcpt_date
buy_From_vendor
quantity
Unit_cost
amount
project_Nbr
I have added a pivot_table and a graph next to it to display a measure of summaries on amount (calculated using quantity X unit_cost). I want to visualize by year and vendor, but however all vendors show up the same number, being the total number.
Any help please??
You need to include a term to aggregate the information
if this is your existing code
quantity * unit_cost
change it to
sum(quantity * unit_cost)

Resources