Hi,
I have 2 queries:
-
Query1:
ID (Dimension)
Company (Dimension) -
Query2:
ID (Dimension)
Pay date (Dimension)
Worked hours (Measure)
I have merged the two IDs
-
I create an array with 3 columns:
Query1.ID
Company
Worked Hours
β> result is fine. I have the sum of Worked Hours for each ID -
I delete column Query1.ID because I want the total of Worked Hours by Company
β> result is wrong. There is the same number everywhere in column Worked Hours (equal to the total of all Worked Hours)
I think this is normal; itβs a context issue -
I write next formula in Worked Hours column:
=Sum([Worked Hours] in ([ID];[Pay date])) In ([Company])
β> result wrong. Nothing has changed.
I have tried several formulas but nothing is working. Iβm going nuts.
Can anyboby help me please ?
Thanks