Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
I'm a beginner when it comes to query building, so all help is appreciated.
I need to create a column(3) that looks at column(1) and if it contains a value (a date), then it will look at the next column(2) and see if it contains a value (a date), if column(2) does not contain a value then I want column(3) to say "Unresolved", if there is a value in column(2), I want it to say "Resolved" ... if column(1) is null then I want column(3) to leave the column null or blank.
if column 1 is blank/null, NEW column should be blank/null
if column 1 is NOT blank and column 2 is NOT blank, NEW column = "Resolved"
if column 1 is NOT blank and column 2 IS BLANK, NEW column = "Unresolved"
Solved! Go to Solution.
Hi @x2kibail,
Try this one. Please also refer to the snapshot below.
Column = IF ( ISBLANK ( [Column1] ), BLANK (), IF ( NOT ISBLANK ( [Column1] ) && ISBLANK ( [Column2] ), "Unresolved", IF ( NOT ISBLANK ( [Column1] ) && NOT ISBLANK ( [Column2] ), "Resolved", "Unknown" ) ) )
Best Regards,
Dale
Hi @x2kibail,
Try this one. Please also refer to the snapshot below.
Column = IF ( ISBLANK ( [Column1] ), BLANK (), IF ( NOT ISBLANK ( [Column1] ) && ISBLANK ( [Column2] ), "Unresolved", IF ( NOT ISBLANK ( [Column1] ) && NOT ISBLANK ( [Column2] ), "Resolved", "Unknown" ) ) )
Best Regards,
Dale
I think that did it! Thanks
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 |
|---|---|
| 56 | |
| 40 | |
| 36 | |
| 20 | |
| 18 |
| User | Count |
|---|---|
| 74 | |
| 72 | |
| 38 | |
| 35 | |
| 26 |