Forum Discussion
Help with getting the maximum value from calculated table containing measure column
- 6 years ago
Hi miguelsus2000 ,
Miguel, I tested your sample data. Maybe the following formula can help you. For why you get the sum value, I think it is caused that my sample is too simple. It is filtered by other columns in your actual data.
MAXX = MAXX ( SUMMARIZE ( FILTER ( ALLSELECTED ( 'LoRaBlePayload (2)' ), 'LoRaBlePayload (2)'[Content.BeaconIdentifier] IN FILTERS ( 'LoRaBlePayload (2)'[Content.BeaconIdentifier] ) ), 'LoRaBlePayload (2)'[Content.BeaconIdentifier], 'LoRaBlePayload (2)'[PartitionKey], "New", [Count per BID] ), [New] )Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi miguelsus2000 ,
Miguel, I tested your sample data. Maybe the following formula can help you. For why you get the sum value, I think it is caused that my sample is too simple. It is filtered by other columns in your actual data.
MAXX =
MAXX (
SUMMARIZE (
FILTER (
ALLSELECTED ( 'LoRaBlePayload (2)' ),
'LoRaBlePayload (2)'[Content.BeaconIdentifier]
IN FILTERS ( 'LoRaBlePayload (2)'[Content.BeaconIdentifier] )
),
'LoRaBlePayload (2)'[Content.BeaconIdentifier],
'LoRaBlePayload (2)'[PartitionKey],
"New", [Count per BID]
),
[New]
)
Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Xue, Thank you very much this actually worked. The original calculation was indeed very simple/high level. I wanted to ask you, if I want to extract the partitionkey mostly used, can simply do a value lookup?
No worries if you're busy.
Thank you again!
Cheers,
M