Hi
I have 1 table with tasks.
Each row is one task. each row have customername, taskname, taskstatus
I want to know how many tasks is there per customer and how many of these tasks are marked as "done".
then in powerbi only show customers that have all their tasks done (total tasks for customer = tasks done)
i have done this with dax measure and it works.
but then my filter for the whole report based on relationships are not working.
it just displays things wrong.
so i need to figure out another way how to count the tasks for one customer. then count the tasks that are done and only show those customers that have all their tasks done.
Hi @Oskar ,
Is it possible to provide some dummy data and expected results?
Best Regards,
ShundaSteph
@Oskar ,
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Ideally these two measure should help
Total = countrows(Task)
Done = Countrows(filter(Task, Task[Status] ="Done]) )
All task done
countrows(filter(summarize(Task, Customer[Customer], "_1", [Total], "_2" , [Done]) , [_1] =[_2]) )
Assume customer is dimension
User | Count |
---|---|
143 | |
85 | |
63 | |
62 | |
55 |
User | Count |
---|---|
210 | |
108 | |
88 | |
75 | |
70 |