The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 |
---|---|
13 | |
8 | |
7 | |
7 | |
5 |
User | Count |
---|---|
21 | |
15 | |
15 | |
10 | |
7 |