Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I have below data, I need to return the Name of the last Entry No per JobID and exclude some status.
I have below measure that return the name of the last entry for most jobid but return blank for above one:
Measure=
Solved! Go to Solution.
Hi,
I am not sure how your datamodel looks like, but please try something like below whether it suits your requirement.
New Measure =
VAR _maxentryno =
MAXX (
FILTER (
Tow,
NOT ( Tow[Status] IN { 0, 11, 12 } )
&& Tow[JobID] = MAX ( Tow[JobID] )
),
Tow[Entry No]
)
RETURN
MAXX (
FILTER ( Tow, Tow[JobID] = MAX ( Tow[JobID] ) && Tow[Entry No] = _maxentryno ),
Tow[To Name]
)
Hi,
I am not sure how your datamodel looks like, but please try something like below whether it suits your requirement.
New Measure =
VAR _maxentryno =
MAXX (
FILTER (
Tow,
NOT ( Tow[Status] IN { 0, 11, 12 } )
&& Tow[JobID] = MAX ( Tow[JobID] )
),
Tow[Entry No]
)
RETURN
MAXX (
FILTER ( Tow, Tow[JobID] = MAX ( Tow[JobID] ) && Tow[Entry No] = _maxentryno ),
Tow[To Name]
)
Thanks, it is working.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 37 | |
| 35 | |
| 35 | |
| 28 |
| User | Count |
|---|---|
| 134 | |
| 101 | |
| 71 | |
| 67 | |
| 65 |