The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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!
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
78 | |
67 | |
52 | |
50 |
User | Count |
---|---|
121 | |
119 | |
77 | |
62 | |
61 |