DAX: Difference between revisions
(→Syntax) |
(→Syntax) |
||
| Line 9: | Line 9: | ||
** column names in square brackets | ** column names in square brackets | ||
Revenue = SUM([Sales Amount]) | Revenue = SUM([Sales Amount]) | ||
** measure names in square brackets | |||
Profit = [Revenue] - [Cost] | |||
* Konstante Werte, wie z. B. die Zahl 24 oder der Literaltext „FY“ (für Fiscal Year, Geschäftsjahr) | * Konstante Werte, wie z. B. die Zahl 24 oder der Literaltext „FY“ (für Fiscal Year, Geschäftsjahr) | ||
* DAX-Variablen | * DAX-Variablen | ||
* Leerraum | * Leerraum | ||
Revision as of 19:48, 5 March 2022
Syntax
<Calculation name> = <DAX formula>
Formeln setzen sich wie folgt zusammen:
- DAX-Funktionen
- DAX-Operatoren
- Verweise auf Modellobjekte
- table names can be in single Quotes, but don't have to if no blanks or name collision
Ship Date = 'Date'
- column names in square brackets
Revenue = SUM([Sales Amount])
- measure names in square brackets
Profit = [Revenue] - [Cost]
- Konstante Werte, wie z. B. die Zahl 24 oder der Literaltext „FY“ (für Fiscal Year, Geschäftsjahr)
- DAX-Variablen
- Leerraum