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 moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hi!
I've got a table that look like this:
| ID | SL CODE | Status |
| 1 | SL0001 | Current |
| 1 | SL0002 | Current |
| 2 | SL0003 | Past Due |
| 2 | SL0004 | Current |
| 3 | SL0005 | Past Due |
| 3 | SL0006 | Past Due |
I need a dax measure that will tag the IDs its final status, the rule is that whenever there are Past Due SL in an ID, all of it will be considered Past Due. Here is the must be result table based on the example above:
| ID | Status |
| 1 | Current |
| 2 | Past Due |
| 3 | Past Due |
Thank you!
Solved! Go to Solution.
Stats = CALCULATE(MAX('YourStatus'[Status]),ALLEXCEPT('YourStatus','YourStatus'[ID]))my table is "YourStatus'
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel
Proud to be a Super User!
Thanks for your help. I've solved this using the MAXX function to convert the measure "[Account Status2]"
Stats = CALCULATE(MAX('YourStatus'[Status]),ALLEXCEPT('YourStatus','YourStatus'[ID]))my table is "YourStatus'
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel
Proud to be a Super User!
Hi @Nathaniel_C
I'm sorry but the column 'Status' is from a measure and is not a column, i don't think that the MAX function will run in a measure -- MAX([Status])
Hi @Peejz_Jalmasco , what does the measure look like?
Proud to be a Super User!
Thanks for your help. I've solved this using the MAXX function to convert the measure "[Account Status2]"
Hi @Peejz_Jalmasco
Or with just the id.
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel
Proud to be a Super User!
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 |
|---|---|
| 34 | |
| 31 | |
| 25 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 61 | |
| 49 | |
| 28 | |
| 23 | |
| 23 |