The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi team, I want to find the ax Value or string based on the multiple columns ( Except Issue ID Column ). Pls see the below screenshot
Note: It will include Nulls or Blanks or all Strings, anything is poosible those cells but to show Max String / Max Value ( No Nulls or Blanks in the result Column )
Hi @KR300
You can use Record.FieldValues(_) in a custom column to return the field values of each row as a list. Then remove the first item from that list and select nonblank items.
let
allcolumns = Record.FieldValues(_),
removeIDcolumn = List.Skip(allcolumns, 1),
removeblanks = List.Select(removeIDcolumn, each _ <> null and _ <> "")
in
List.Max(removeblanks)
User | Count |
---|---|
86 | |
84 | |
35 | |
35 | |
34 |
User | Count |
---|---|
94 | |
79 | |
63 | |
55 | |
52 |