cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Denkende_Doener Frequent Visitor
Frequent Visitor

course 2.5 new measure

Following thecourse. This formula is presented.

Edx.PNG

For me it isn't possible to construct this in PowerBI.

Especially the part between ...[Revenue]) and 'Date'[Date])

I cannot use a comma to enter 'Date'[Date]). Only by using it's possible but then the formula doesn't work.

Who can help me?

 

Gérard

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: course 2.5 new measure

Hi @Denkende_Doener,

 

It seems that you have solved your problem.

 

Please accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

 

Best  Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
3 REPLIES 3
Community Support Team
Community Support Team

Re: course 2.5 new measure

Hi @Denkende_Doener,



 

Based on your information, it seems that the syntax of your formula is correct, but you said that your formula doesn't work.

 

Do you get any error message? I would appreciate it if you could provide some the screenshots to show the issue.

 

In addition, please check if you have created the relationship between Sales table and Date table with date column.

 

Best  Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Denkende_Doener Frequent Visitor
Frequent Visitor

Re: course 2.5 new measure

Thanks Cherry,

I did a new attempt and the following works:

YTD revenue2 = TOTALYTD(sum(Sales[Revenue]);'Date'[Date])

So not a comma but ; 

Maybe it has to do with the Dutch version where I am working with

 

Gérard

Community Support Team
Community Support Team

Re: course 2.5 new measure

Hi @Denkende_Doener,

 

It seems that you have solved your problem.

 

Please accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

 

Best  Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.