cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

Expression.Error: The name 'CALCULATE' wasn't recognized. Make sure it's spelled correctly.

 

So, what am I doing wrong here? Smiley Frustrated

 

 Calculate error.png

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Microsoft
Microsoft

Re: Expression.Error: The name 'CALCULATE' wasn't recognized. Make sure it's spelled correctly.

Hi @shanka,

 

As Vvelarde has mentioned above, you should use Power Query (informally known as "M") Formula in Query Editor.

 

The formula you're using should work when creating a calculate column or a measure under Modeling tab in Power BI Desktop.Smiley Happy

 

c1.PNG

 

Regards

View solution in original post

2 REPLIES 2
Highlighted
Community Champion
Community Champion

Re: Expression.Error: The name 'CALCULATE' wasn't recognized. Make sure it's spelled correctly.

@shanka

 

In Query Editor you should be use Power Query Language. 

 

Calculate is part of DAX. (to create a measure or calculated column after you load the data model)

 




Lima - Peru
Highlighted
Microsoft
Microsoft

Re: Expression.Error: The name 'CALCULATE' wasn't recognized. Make sure it's spelled correctly.

Hi @shanka,

 

As Vvelarde has mentioned above, you should use Power Query (informally known as "M") Formula in Query Editor.

 

The formula you're using should work when creating a calculate column or a measure under Modeling tab in Power BI Desktop.Smiley Happy

 

c1.PNG

 

Regards

View solution in original post

Helpful resources

Announcements
Super Users of the Quarter - Q2 2020

Super Users of the Quarter - Q2 2020

Who are our Super User Superstars? Who made it to the top of the leaderboards? Get the answers!

June 2020 Community Highlights

June 2020 Community Highlights

Featured community members, changes to the Community, and more! Read up on recent Power BI community news.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Kudoed Authors