Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
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 🙂
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
80 | |
65 | |
52 | |
49 |
User | Count |
---|---|
212 | |
89 | |
79 | |
68 | |
60 |