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 using power query and am trying to create a conditional column highlighted in the black square in the image. The conditional column would output "New" if there is no other row in the file where the value in the Drug and ID column is an exact match to the current row OR if the data does match, the date difference must 1 year or greater. The conditional column would output "Refill" if there is an exact match in the Drug and ID column AND date difference is within 1 year. The example provided shows the desired output. Hoping this is possible. Thanks in advance!
Solved! Go to Solution.
This might help.
Result:
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 |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 6 | |
| 5 |