The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi
I have a request to summarise the amount of users that havent completed a task (list item in sharepoint list that I sucking in SQL)
The list of users is from our Users container in Active Directory and I have a table showing all users Count of tasks completed, I am showing the NULL values by using this measure:
Zero SOR = (COUNT(SOR[Title]) + 0)
I have a relationship between AD 'displayname' and Task List 'Created By'. SOR is the task list and Title being the task name.
Which works well in a table as its shows the users with a zero score along with all the other users that have completed a task (SOR).
Now I just want to show the totals of users per department (attribute from AD) that have not completed a task. I have tried a number of different methods such as rowcount / countblanks etc and at present i have a measure like this:
Zero SOR Count = CALCULATE(count(user[Name]), FILTER(SOR,ISBLANK(COUNT(SOR[Zero SOR]))))
But this brings back nothing, I am finding it increasingly difficult to count nothing and not even sure if it is possible?
Any help appreciated
Solved! Go to Solution.
@Geroo ,
Try this;
Zero SOR Count = CALCULATE(count(user[Name]), FILTER(SOR, [Zero SOR]=0)
Greetz,
Ronald
I have already tried that calculation in the measure and it returns nothing, thank you anyways.
It is strange as I (like you) would of thought that calculation would of worked
Thanks for the file, I created a new report woth just the AD User table and the task list and this works
Strangely it doesnt on my existing report so it must an issue with my relationships on the other tables i have in the report although I cannot see why at present
Thanks for the help , i wasnt going mad after all 🙂
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
99 | |
90 | |
83 | |
64 | |
58 |
User | Count |
---|---|
244 | |
128 | |
118 | |
79 | |
78 |