The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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:
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
34 | |
19 | |
19 | |
16 | |
13 |