Skip to main content
|

PowerPivotPro's FAQ Site

Go Search
  
PowerPivotPro's FAQ Site > The Great PowerPivot FAQ > Is the table name required in DAX if I am writing a formula in that same table?  

The Great PowerPivot FAQ: Is the table name required in DAX if I am writing a formula in that same table?

Title

Is the table name required in DAX if I am writing a formula in that same table? 

Answer

No, not required in calc columns.  In measures, however, it is required some places and not others - so in measures, the safest bet is to always use it.  You'll get an error "column not found" if you omit the table name in a required location.

Client/Server

Client 

Topic

F - Calculations (DAX) 

Purpose

Both 

Answered?

Yes 

Contributor

Rob Collie 

Título

O nome da tabela é obrigatório nas DAX se eu estou escrevendo uma fórmula na mesma tabela? 

Resposta

Não, não é obrigatório nas colunas calculadas. No entanto, nas medidas é obrigatório em alguns lugares e em outros não. Então a melhor aposta é sempre usar. Você terá o erro: "column not found" (coluna não encontrada) se você omitir o nome da tabela em um lugar em que é necessário.

Frage

Wird der Tabellen-Name in DAX benötigt wenn ich eine DAX-formel schreibe die sich auf Daten innerhalb der gleichen Tabelle bezieht? 

Antwort

 

preRTM

 
Attachments
Created at 12/31/2009 4:23 PM  by admin@powerpivotfaq.com 
Last modified at 4/23/2010 1:23 PM  by Jochen Juelke