The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
17 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
9 | |
8 |