Join 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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Please,
why I get this message Too many arguments were passed to the ALLSELECTED function. The maximum argument count for the funct with a measure like CALCULATE ( MAX(), ALLSELECTED( T, T[Col1], T[Col2] )
https://learn.microsoft.com/en-us/dax/allselected-function-dax
ALLSELECTED([<tableName> | <columnName>[, <columnName>[, <columnName>[,…]]]] )
Solved! Go to Solution.
19-Sep-22 8:25:03 PM Query (5, 73) Too many arguments were passed to the ALLSELECTED function. The maximum argument count for the function is 1.
thank you
but why in ms documentation said ... ALLSELECTED([<tableName> | <columnName>[, <columnName>[, <columnName>[,…]]]] ) ?
just tested with dax studio
EVALUATE
{
CALCULATE (
MAX ( Vintaz[start_date] ),
ALLSELECTED ( Vintaz[start_date], Vintaz[vintaz_mnth] )
)
}
Thank you, but CALCULATE ( MAX(), ALLSELECTED( T[Col1], T[Col2] ) do not work
User | Count |
---|---|
9 | |
8 | |
5 | |
4 | |
3 |