Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
AndreiCapraru
New Member

Reporting on pending task

Hi everyone,

 

I am very new to Power Bi and would appreciate a bit of help with the current dilema. I have worked my way through building a dashboard for a project task completion status, however I got stuck at the following task:

I have two tables, the first listing all users contributing to a particular task and their current contribution status and the second table reports if the task still requires MULTIPLE user input, is COMPLETE or if one user is left to response then lists the user's name.

 

Table 1

IDNAMESTATUS
1MARIAPENDING
1JOHNCOMPLETE
1CHRISPENDING
2MARIACOMPLETE
2ANNECOMPLETE
3MARIAPENDING
3CHRISCOMPLETE
3JAKECOMPLETE

 

Table 2

IDReportStatus
1MULTIPLE
2COMPLETE
3MARIA
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@AndreiCapraru , I am hoping you need the report status in table 2.

Create a new column

 

new column =
var _1 = countx(filter(Table1, Table2[ID] = Table1[ID]), Table[ID])
var _2 = countx(filter(Table1, Table2[ID] = Table1[ID] && Table1[Status] ="COMPLETE"), Table[ID])
var _3 = maxx(filter(Table1, Table2[ID] = Table1[ID] && Table1[Status] ="PENDING"), Table[Name])
return
switch(true(),
_1=_2 , "COMPLETE",
_1 -_2 =1 , _3 ,
"MULTIPLE"
)

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@AndreiCapraru , I am hoping you need the report status in table 2.

Create a new column

 

new column =
var _1 = countx(filter(Table1, Table2[ID] = Table1[ID]), Table[ID])
var _2 = countx(filter(Table1, Table2[ID] = Table1[ID] && Table1[Status] ="COMPLETE"), Table[ID])
var _3 = maxx(filter(Table1, Table2[ID] = Table1[ID] && Table1[Status] ="PENDING"), Table[Name])
return
switch(true(),
_1=_2 , "COMPLETE",
_1 -_2 =1 , _3 ,
"MULTIPLE"
)

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks @amitchandak , that worked perfectly and also learned something in the process 🙂

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors