Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
benoitgochel
Contributor III
Contributor III

% Based stacked bar chart

Hi all,

I have a stacked bar chart with two dimensions (Employee and SubGroupProject) in order to analyze the timesheets of the employees.

The timesheets are transactions lines with a quantity of hours and a projet-subGroupProjet-GroupProjetc.

I would like to show with a stacked bar chart the repartition in % of subGroupProject for each employee.

Eg :

Untitled.png

But with % repartition for every employee.

I tried  :

=num(SUM([#Hours.QTY])/SUM(TOTAL(<[empl.name]>[#Hours.QTY]))) as my meseaure expression

But I got no result ...

What can I do to solve this?

Thank you in advance,

Labels (1)
  • Chart

1 Solution

Accepted Solutions
sunny_talwar

Try this

=Num(Sum([#Hours.QTY])/Sum(TOTAL<[empl.name]> [#Hours.QTY]))

View solution in original post

3 Replies
shraddha_g
Partner - Master III
Partner - Master III

Please Share sample app or sample data

sunny_talwar

Try this

=Num(Sum([#Hours.QTY])/Sum(TOTAL<[empl.name]> [#Hours.QTY]))

benoitgochel
Contributor III
Contributor III
Author

It worked.

Thank you very much.