Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance 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 |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
12 | |
10 | |
6 |