Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
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 is 16)
When performing the measured field
I have tried with the functions it indicates and it keeps giving me the number 3 instead of 16 which would be the correct data.
Solved! Go to Solution.
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.
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.
Hi,
This pattern should work
Measure = MAXX(SUMMARIZE(Calendar,Calendar[year],calendar[month name],"A",[Total]),[A])
Hope this helps.
Hello good, I have followed the suggestion only that now it gives me the result of 1.
Here's the filter from the initial table:
DayWithMaxTransactions =
VAR FilteredTable =
FILTER(
'HistoryTransaction';
WEEKDAY('HistoryTransaction'[HProcess]) = WEEKDAY(TODAY())
&& 'HistoryTransaction'[Origen] <> 'HistoryTransaction'[Destino]
&& 'HistoryTransaction'[Destino] = "1"
&& 'HistoryTransaction'[HStatus] = 4
)
VAR GroupedTable =
SUMMARIZECOLUMNS (
'HistoryTransaction'[HProcess];
FilteredTable;
"TransactionCount"; COUNT('HistoryTransaction'[idHistoricoTx])
)
RETURN GroupedTable
Thus the data is grouped and filtered
Siguiendo la sugerencia del maximo
HTX_Maximo =
MAXX(
SUMMARIZE(
'DayWithMaxTransactions';
'DayWithMaxTransactions'[HProcess]. [Año];
'DayWithMaxTransactions'[HProcess]. [Mes];
'DayWithMaxTransactions'[HProcess]. [Día];
DayWithMaxTransactions[TransactionCount]
);
'DayWithMaxTransactions'[TransactionCount])
I have done it in the two ways that have been recommended to me, now I get the result of
The measure you have written is nowhere close to the one which i suggested. I am referring to the Calendar table - you are not.
Good day my dear, apologies since I am entering the world of power bi and it is costing me a little, I do not know if it is necessary to create the calendar table, in my case I make the direct consultation, in advance I appreciate you can explain me, since I have lost myself in the solution of the problem.
It is necessary to create a Calenda table.
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.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
85 | |
42 | |
30 | |
27 | |
27 |