Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I'm trying to collect or summarize the status of tasks based on a person, but each task is a separate row.
Here is an example of data:
| Name | Task Name | Status |
| Bob Smith | Task 1 | Completed |
| Bob Smith | Task 2 | Pending |
| Jane Doe | Task 1 | Pending |
| John Jones | Task 1 | Completed |
| John Jones | Task 2 | Completed |
What I would like is a formula that says - For [Name], if any Task is Pending, then "Task Name", otherwise "Complete"
So, my desired results would look like this:
Bob Smith | "Task 2"
Jane Doe | "Task 1"
John Jones | "Complete"
Any examples or tutorial references would be appreciated.
pls try this
Measure 1 =
COALESCE(
CALCULATE(MAX('Table'[Task Name]),
CONTAINSSTRING("Pending",'Table'[Status])),"Completed")
------- or-----------
Measure 2 =
CALCULATE(SELECTEDVALUE('Table'[TaskName],"Completed"),
CONTAINSSTRING("Pending",'Table'[Status]))
Hi,
This measure works
Measure = COALESCE(minx(FILTER(SUMMARIZE(VALUES(Data[Task Name]),Data[Task Name],"ABCD",MAX(Data[Status])),[ABCD]="Pending"),Data[Task Name]),"Complete")
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |