Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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] ) )
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
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] )
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
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] ) )
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
User | Count |
---|---|
21 | |
19 | |
12 | |
10 | |
9 |
User | Count |
---|---|
30 | |
25 | |
15 | |
13 | |
10 |