Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Column as an expression for CALCULATE?

 CALCULATE ( <expression> , <filter1>, <filter2>, ...)

 

This is the Syntax for the CALCULATE function in DAX and it is said that 

expression can be a measure or a calculation that you’d want to evaluate.

 

However, I see things like

CALCULATE ( [Sales], PARALLELPERIOD ( 'Date'[Date], -12, MONTH ) )

 

 

where I think that [Sales] is a column.

 

(See here: Verwenden von Variablen zur Verbesserung der Leistung und zur Problembehandlung - Training | Microso...)

 

So my question is: How is that possible?

 

In which way is a column like [Sales] a measure or calculation?

2 ACCEPTED SOLUTIONS
tamerj1
Super User
Super User

@Anonymous 
It should be a measure

View solution in original post

Anonymous
Not applicable

Hi,

 

then maybe this is just bad notation. Because for me it looks like a column.

View solution in original post

2 REPLIES 2
tamerj1
Super User
Super User

@Anonymous 
It should be a measure

Anonymous
Not applicable

Hi,

 

then maybe this is just bad notation. Because for me it looks like a column.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors