Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
90 | |
82 | |
65 | |
51 | |
31 |
User | Count |
---|---|
117 | |
116 | |
71 | |
64 | |
40 |