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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi good day can anyone help me on my calculated column,
- If the Job_ID is equal to Y in Fab column then search Fab in trade column if none Pending if there is Done
- If the Job_ID is equal to N in Fab column then result is Done
- If the Job_ID is equal to D in Fab column then result is Done
Thank you
Solved! Go to Solution.
Hi @AllanBerces
According to your snapshot
The following dax code should return what you need
RESULT=
IF(
'Test'[Fab] = "Y",
IF(
CALCULATE(
COUNTROWS('Test'),
ALLEXCEPT('Test', 'Test'[Job ID]),
'Test'[Trade] = "Fab"
) > 0,
"Done",
"Pending"
),
"Done"
)
Result =
IF(
Table[Fab] IN {"N", "D"},
"Done",
IF(
Table[Fab] = "Y" && Table[Trade] = "Fab",
"Done",
"Pending"
)
)
Result =
IF(
Table[Fab] IN {"N", "D"},
"Done",
IF(
Table[Fab] = "Y" && Table[Trade] = "Fab",
"Done",
"Pending"
)
)
Hi @AllanBerces
According to your snapshot
The following dax code should return what you need
RESULT=
IF(
'Test'[Fab] = "Y",
IF(
CALCULATE(
COUNTROWS('Test'),
ALLEXCEPT('Test', 'Test'[Job ID]),
'Test'[Trade] = "Fab"
) > 0,
"Done",
"Pending"
),
"Done"
)
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 52 | |
| 45 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 108 | |
| 108 | |
| 39 | |
| 33 | |
| 25 |