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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
First time poster, so sorry if it's in the wrong place.
Wondering the best way to select the Critter ("TAS FC C3") based on highest "PutUp" value (60) for a given Ticket. Ideally I'd like to return just the Ticket and the Critter.
Thanks!
Solved! Go to Solution.
Hi @WDMB ,
Try this:
Max Critter =
VAR MaxPutUp =
CALCULATE ( MAX ( 'Table'[PutUp] ), ALLEXCEPT ( 'Table', 'Table'[Ticket] ) )
RETURN
CALCULATE ( MAX ( 'Table'[Critter] ), 'Table'[PutUp] = MaxPutUp )
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @WDMB ,
Try this:
Max Critter =
VAR MaxPutUp =
CALCULATE ( MAX ( 'Table'[PutUp] ), ALLEXCEPT ( 'Table', 'Table'[Ticket] ) )
RETURN
CALCULATE ( MAX ( 'Table'[Critter] ), 'Table'[PutUp] = MaxPutUp )
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @WDMB
I assume you are slicing by ticket number and date. Please try
Max Critter =
VAR MaxPutUp =
MAX ( TableName[PutUp] )
RETURN
MAXX ( FILTER ( TableName, TableName[PutUp] = MaxPutUp ), TableName[Critter] )
Thanks @tamerj1 . Not slicing on date. I just want to retreive the Critter with the highest quantity of PutUp for any given Ticket. Most Tickets only have one Critter, but those that have more than one, I just need the Critter with the most PutUp.
User | Count |
---|---|
14 | |
11 | |
6 | |
6 | |
5 |
User | Count |
---|---|
29 | |
17 | |
11 | |
7 | |
5 |