Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I have the below data set with dates as to when a customer filled out a survey. I want to create two new columns that shows me their response based on The First Survey they filled out (earliest date). Then a second new column that does the same but shows the response for the last survey they filled out.
I've tried a bunch of claculations using values and first/last date. But i can't seem to get it correct.
Customer | Date | Response | OUT PUT (First Response) |
| Chad | Jan 1st 2020 | Pro | Pro |
| Sam | Jan 5th 2020 | Detract | Detract |
| Chad | Jan 9th 2020 | Pas | Pro |
| Chad | Jan 11th 2020 | Pas | Pro |
| Sam | Jan 2th 2020 | Pro | Pro |
| Dave | Jan 4th 2020 | Pas | Pas |
| Dave | Jan 1st 2020 | Pas | Pas |
Here's a slightly more noble version
A customer (person) is only sent one survey a quarter. So there is no issue with multiple on the same day.
Here is a very crude variation. I know this can be improved with LASTNONBLANKVALUE but i need to re-learn that.
Also, "Jan 2th" - really?!
i was doing it at 11pm.. after spening 2 hours messing around with it.. give me a break...lol.. I'll try your solution below..
thanks
Power Query or DAX? Calculated Column or Measure?
I need to show the values in a column. So either PowerQ or, calculated column or a new formular column would work.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 6 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 16 | |
| 8 | |
| 7 | |
| 7 |