Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I would like to create a measure to calculate the variance of second lastest date for each Name. I have tried
sample data:
| Survey ID | Name | Date | Respond ID | Score |
| 123 | A | 5/9/2021 | 1 | 10 |
| 123 | A | 5/9/2021 | 2 | 8 |
| 123 | A | 5/9/2021 | 3 | 3 |
| 123 | A | 5/9/2021 | 4 | 0 |
| 234 | B | 8/9/2021 | 1 | 5 |
| 234 | B | 8/9/2021 | 2 | 5 |
| 234 | B | 8/9/2021 | 3 | 10 |
| 234 | B | 8/9/2021 | 4 | 0 |
| 345 | A | 7/9/2022 | 1 | 2 |
| 345 | A | 7/9/2022 | 2 | 6 |
| 345 | A | 7/9/2022 | 3 | 8 |
| 345 | A | 7/9/2022 | 4 | 3 |
| 456 | B | 10/9/2022 | 1 | 1 |
| 456 | B | 10/9/2022 | 2 | 10 |
| 456 | B | 10/9/2022 | 3 | 8 |
Solved! Go to Solution.
Hi @Anonymous
Please replace ALL('Table') with ALLEXCEPT ( 'Table', 'Table'[Name] )
Hi @Anonymous
Please replace ALL('Table') with ALLEXCEPT ( 'Table', 'Table'[Name] )
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!