Hi everyone
I have a challenge to find the first order number in a table when I apply a date slicer.
The FIRSTNONBLANK() gets me back the first one by sorting them but I don't want to sort them, I need to have the first one based on the date/time column or sequence column.
Thanks
Solved! Go to Solution.
@Matt_Gol Try this pattern:
Measure =
VAR __Date = MIN('Table'[Date])
VAR __Table = FILTER(ALLSELECTED('Table'),[Date] = __Date)
VAR __Result = MINX(__Table, [Order Number])
RETURN
__Result
@Matt_Gol Try this pattern:
Measure =
VAR __Date = MIN('Table'[Date])
VAR __Table = FILTER(ALLSELECTED('Table'),[Date] = __Date)
VAR __Result = MINX(__Table, [Order Number])
RETURN
__Result
User | Count |
---|---|
97 | |
83 | |
69 | |
51 | |
45 |
User | Count |
---|---|
156 | |
96 | |
80 | |
70 | |
70 |