The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now
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
Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.
User | Count |
---|---|
158 | |
109 | |
96 | |
83 | |
75 |
User | Count |
---|---|
154 | |
137 | |
131 | |
81 | |
62 |