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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
IvanZaykov
Regular Visitor

Latest date of the correct month for each customer

Hello,
 
I would like to get the latest value of each month for a customer.

Here's an example of the data I'm looking at:
 
image 1.png
 
The result should look like below:
 
image 2.png
 
 

Any help would be appreciated. 
1 ACCEPTED SOLUTION
v-danhe-msft
Employee
Employee

Hi @IvanZaykov,

Based on my test, you could refer to below formula:

Measure = CALCULATE(SUM(Table1[Column1]),FILTER('Table1','Table1'[Month]=ENDOFMONTH('Table1'[Month])))

Result:

1.PNG

You could also download the pbix file to have a view.

 

Regards,

Daniel He

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

View solution in original post

2 REPLIES 2
v-danhe-msft
Employee
Employee

Hi @IvanZaykov,

Could you please tell me if your problem has been solved? If it is, could you please mark the helpful replies as Answered to close this topic?

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-danhe-msft
Employee
Employee

Hi @IvanZaykov,

Based on my test, you could refer to below formula:

Measure = CALCULATE(SUM(Table1[Column1]),FILTER('Table1','Table1'[Month]=ENDOFMONTH('Table1'[Month])))

Result:

1.PNG

You could also download the pbix file to have a view.

 

Regards,

Daniel He

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

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

April Fabric Community Update

Fabric Community Update - April 2024

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