Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Can some one help me in writing a calculated column formula to find the second min order date with respect to each user??
Thanks
Solved! Go to Solution.
@Learn_PBI Sample data would greatly help but it should be something along the lines of:
Column =
VAR __Customer = [Customer]
VAR __MinOrderDate = MINX(FILTER(ALL('Table'),[Customer] = __Customer),[OrderDate])
VAR __SecMinOrderDate = MINX(FILTER(ALL('Table'),[Customer = __Customer && [OrderDate] <> __MinOrderDate),[OrderDate])
RETURN
__SecMinOrderDate
@Learn_PBI Sample data would greatly help but it should be something along the lines of:
Column =
VAR __Customer = [Customer]
VAR __MinOrderDate = MINX(FILTER(ALL('Table'),[Customer] = __Customer),[OrderDate])
VAR __SecMinOrderDate = MINX(FILTER(ALL('Table'),[Customer = __Customer && [OrderDate] <> __MinOrderDate),[OrderDate])
RETURN
__SecMinOrderDate
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
104 | |
95 | |
80 | |
67 | |
62 |
User | Count |
---|---|
138 | |
107 | |
104 | |
82 | |
63 |