Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hello , I was hoping someone could help please.
I have a three columns : ID, State and Part. I need to create a fourth column that relies on the previous three collumns returning specific crtieria. There are 3 parts to each ID.
I need column 4 to say IF ID Part A, Part B and Part C say READY in the State Column, then say Ready in Column 4 , if not, then Not Ready. An ID cannot be READY State untill Parts A , B and C are ready.
Could anyone help with this please? Example below shows ID 1111 would be Not Ready in column 4, because Part C isnt Ready
Thank you for any help
Solved! Go to Solution.
@Aburar_123 that seems to work! Thank you so much. I havent used the Earlier function before. Thank you
@Pricey79 , Create a new column like
new column =
var _count = countX(filter(Table, Table[ID] = earlier(Table[ID]) && Table[Satus] ="Not Ready"), Table[ID])
return
if(not(Isblank(_count)) , "Not Ready" , "Ready")
Earlier, I should have known Earlier: https://www.youtube.com/watch?v=cN8AO3_vmlY&t=17820s
@amitchandak Thank you for your reply, much appreciated.
However, it doesnt seem to work properly.
I have a record where State is Ready for both, but the new column is showing Not Ready?
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 43 | |
| 39 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 68 | |
| 63 | |
| 31 | |
| 30 | |
| 23 |