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
Hello together,
I'm struggeling with a new little Problem.
I have this Table with a lot more rows, but these two rows are the most important:
| ID | State |
| 1 | Error |
| 1 | Error |
| 1 | OK |
| 2 | Error |
| 2 | Error |
| 2 | OK |
| 3 | Error |
| 3 | Error |
As you can see, the ID can get two different states. I now need to create a third row, which says that if the ID has once the state OK, then it is OK for every state:
| ID | State | Code |
| 1 | Error | OK |
| 1 | Error | OK |
| 1 | OK | OK |
| 2 | Error | OK |
| 2 | Error | OK |
| 2 | OK | OK |
| 3 | Error | Error |
| 3 | Error | Error |
It doesnt matter if it is in DAX or in the Query.
Thank you in advance 🙂
Solved! Go to Solution.
Hi @Limerick ,
Create a calculated column like this:
Please accept this as a solution if your question has been answered !!
Appreciate a Kudos 😀
Hi @Limerick ,
Create a calculated column like this:
Please accept this as a solution if your question has been answered !!
Appreciate a Kudos 😀
Very nice!
Thank you very much 🙂
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 |
|---|---|
| 35 | |
| 32 | |
| 25 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 65 | |
| 35 | |
| 32 | |
| 25 | |
| 23 |