I'm trying to show the days when some people were present. For this I created a column called 'Presence' and put all values equal to 'P'. After that I created a DAX statement to count 1 once a day that person, and then with that check if there is at least one record for it on that day.
DAX:
Presenca_medida = CALCULATE(DISTINCTCOUNT('Base
Atendimento'[DATA_INICIO_CONCAT]);FILTER('Base Atendimento';
'Base Atendimento'[Presenca] = "P"))
This worked very well.
But I'm having a problem, because I'm not able to add the total per column, just by lines.
As picture:
As we can see he is adding each line correctly. But the column it only replicates the same value (not sum).
Any idea?
Example of table and colluns:
Add
When i try with idChamado the total appear, like that:
but the problem it's taht if use idChamado, i can't count once a day..
COUNT
orCOUNTA
instead ofDISTINCTCOUNT
maybe? – Alexis OlsonidChamado
ordataInicio
instead ofDATA_INICIO_CONCAT
. – Alexis Olson