Forum Discussion
Syndicate_Admin
1 year agoAdministrator
Column with the maximum value
Hello good afternoon community, for your help with the following query: I have the following table grouped together: The Maximum Value of the quantity field is searched (In this case it ...
- Anonymous1 year ago
Hi Chentefx ,
Maybe there're some filters that cauesd the wrong result of your measure.
You can try this measure:
HTX_Maximo = MAXX ( SUMMARIZE ( ALL ( 'DayWithMaxTransactions' ); 'DayWithMaxTransactions'[HProcess].[Año]; 'DayWithMaxTransactions'[HProcess].[Mes]; 'DayWithMaxTransactions'[HProcess].[Día]; DayWithMaxTransactions[TransactionCount] ); 'DayWithMaxTransactions'[TransactionCount] )The ALL function can ignore any filters applied.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
lbendlin
1 year agoSuper User
You have daily data, so it returns the maximum transactions you had on a single day.
Use an aggregation function like SUMMARIZECOLUMNS over the years and months, and then take the MAXX over that aggregator.