Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi Power BI Experts,how do i create a new column to get a string column according to max value of another numberic colume?
The picture below shown the scenario, the new column MaxApp should be 'A' for ABDULAKK, because max value for ABDULLAK for the column 0TCTQUCOUNT is 973. What formula i should put in MaxApp to achieve this?
Solved! Go to Solution.
@mjay83 , Assume all are column
Create new column like
New column =
var _max = maxx(filter(Table, [OTCUSERNM] =earlier([OTCUSERNM])), [OTCQUCOUNT])
return
maxx(filter(Table, [OTCUSERNM] =earlier([OTCUSERNM]) && [OTCQUCOUNT] =_max), [Application])
@mjay83 , Assume all are column
Create new column like
New column =
var _max = maxx(filter(Table, [OTCUSERNM] =earlier([OTCUSERNM])), [OTCQUCOUNT])
return
maxx(filter(Table, [OTCUSERNM] =earlier([OTCUSERNM]) && [OTCQUCOUNT] =_max), [Application])
Incredible and straight forward solution!
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
72 | |
38 | |
31 | |
27 |
User | Count |
---|---|
92 | |
50 | |
44 | |
40 | |
35 |