Forum Discussion
Incorrect Values in Scatter Plot
Anonymous - Thank you for the solution.
While testing, I noticed that the ID Table could not be joined with the Sal Table as the departments are not same in both these tables.
We will need to get the count of each dept from the ID table and not based on the dept from Sal table.
I added a new table "Owner" as per the requirement and joined with the ID table . Could you please help with the current design, I have updated the file here
Thank you.
Hi POSPOS ,
Create a column under Owner table
Count of department =
CALCULATE(
COUNT('ID'[Count of ID]),
FILTER(
ALLEXCEPT(
'ID',
'ID'[Dept]
),
'ID'[Appointment Date]>= DATE(2022,07,01)
)
)
Create a column under Sal table
Count =
CALCULATE(
MIN(Owner[Count of department]),
ALLEXCEPT(
Sal,
Sal[Dept]
)
)
Final output
Best regards,
Albert He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
- POSPOS2 years agoPost Partisan
Hi Anonymous - I tried to replicate the same in the original report and I get same values for all the departments