Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
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
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
User | Count |
---|---|
87 | |
85 | |
68 | |
67 | |
64 |
User | Count |
---|---|
210 | |
118 | |
116 | |
81 | |
74 |