Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Here is the data and I want to drop duplicate in "name" level by get the max value,
for example, after drop duplicates in name level, the sum value of type "high" is 2+5 rather than 2+2+5+4
do you have any ideas? Thank you.
Solved! Go to Solution.
Hi,
thank you for your feedback, and please check the below picture and the attached pbix file whether it suits your requirement.
Expected outcome measure: =
SUMX (
SUMMARIZE ( Data, Data[Type], Data[Category] ),
CALCULATE ( MAX ( Data[Value] ) )
)
Hi,
I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.
It is for creating a new table.
New table create =
GROUPBY (
Data,
Data[Type],
Data[Category],
"@MaxValue", MAXX ( CURRENTGROUP (), Data[Value] )
)
actually I am finding a way to create a measure that calculate the sum of the max value in category group,
the result is exactly like this,
is there a way to change the table into a measure? Thank you.
Hi,
thank you for your feedback, and please check the below picture and the attached pbix file whether it suits your requirement.
Expected outcome measure: =
SUMX (
SUMMARIZE ( Data, Data[Type], Data[Category] ),
CALCULATE ( MAX ( Data[Value] ) )
)
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
19 | |
17 | |
11 | |
9 | |
9 |