This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi All,
I have to check for every line if:
1- it is the last status date regarding every FILE (column A)
AND
2- if the status id is F (column C)
in reality, the answers for the attached table are the green lines --> the last status and the status id is F.
thanks in advanced.
Nir.
Solved! Go to Solution.
Hi @nirrobi. Try this as a calculated column:
Column = (TableName[Status Date]=CALCULATE(MAX(TableName[Status Date]), FILTER(ALL(TableName), TableName[File]=EARLIER(TableName[File])))) && (TableName[Status ID]="F")
If you want to color cell backgrounds, you can use Conditional formatting like below.
Best Regards,
Herbert
Hi @nirrobi. Try this as a calculated column:
Column = (TableName[Status Date]=CALCULATE(MAX(TableName[Status Date]), FILTER(ALL(TableName), TableName[File]=EARLIER(TableName[File])))) && (TableName[Status ID]="F")
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 30 | |
| 24 | |
| 23 | |
| 17 | |
| 15 |
| User | Count |
|---|---|
| 61 | |
| 36 | |
| 29 | |
| 22 | |
| 21 |