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.
Hello,
I am experiencing an issue where DAX is not recognizing the column names from a table I have stored in a variable, and I am hoping someone might be able to assist.
When referring to the columns of my table stored in the variable named "Arreglo," DAX throws an error saying "Cannot find name '[Monto]' or '[Año]'," and upon pressing enter, another message appears stating "Cannot find table 'Arreglo'."
The problem occurs in the following code segment:
VAR Monto =
CALCULATE( SUMX( Arreglo, Arreglo[Monto] ), FILTER( Arreglo, Arreglo[Año] = [Año actual] && Arreglo[Mes] = Mes ) )
Any guidance or assistance on this matter would be greatly appreciated. Thank you in advance!
Hi,
I think the columns that you want to use inside the measure is virtually created in VAR above.
Please try using the column name without the table name.
User | Count |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
12 | |
11 | |
7 | |
6 |