Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi everyone
Once again, your help to solve my current problem is much appreciated 😊
My table looks somwhat like this:
Column A | Column B |
P100 | 5 |
P100 | 20 |
P101 | 25 |
P102 | 1 |
P103 | 8 |
P104 | 9 |
P104 | 37 |
P104 | 8 |
I need to remove the rows that contain multiple values in column A based on values in column B. More specifically, of all the rows containing the same value in column A I need to keep the row that contains the highest value in column B. The result must be like this:
Column A | Column B |
P100 | 20 |
P101 | 25 |
P102 | 1 |
P103 | 8 |
P104 | 37 |
Solved! Go to Solution.
HI @Fox5,
I'd like to suggest you create a new calculated table with following formulas:
newTable =
SUMMARIZE ( Table1, [Column A], "MaxB", MAX ( Table1[Column B] ) )
Regards,
Xiaoxin Sheng
HI @Fox5,
I'd like to suggest you create a new calculated table with following formulas:
newTable =
SUMMARIZE ( Table1, [Column A], "MaxB", MAX ( Table1[Column B] ) )
Regards,
Xiaoxin Sheng
Perfect. Thank you very much 😊
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
94 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |