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

the last process in a year in a table

Hello

could someone help me please

i try to show the last process in a year in a table

which is filtered on a customer

 

THANKS

1 ACCEPTED SOLUTION

hi @Hikmet_JCI ,

 

Try this

 

_Measure = IF ( Customer[Date] = CALCULATE ( MAX ( Customer[Date] ), ALLEXCEPT ( Customer, Customer[Bez] ) ),Customer[Date] )

 

Thanks!

View solution in original post

6 REPLIES 6
Hikmet_JCI
Frequent Visitor

pic.png

hi @Hikmet_JCI ,

 

Try this

 

_Measure = IF ( Customer[Date] = CALCULATE ( MAX ( Customer[Date] ), ALLEXCEPT ( Customer, Customer[Bez] ) ),Customer[Date] )

 

Thanks!

View solution in original post

hi @Hikmet_JCI 

 

Did you try this

 

_Measure = IF ( MAX(Customer[Date]) = CALCULATE ( MAX ( Customer[Date] ), ALLEXCEPT ( Customer, Customer[Bez],Customer[KD] ) ),MAX(Customer[Date]) )

@Hikmet_JCI 

you can try to create a column

Column = 
VAR _max=CALCULATE(MAX('Table'[Date]),ALLEXCEPT('Table','Table'[Art]))
RETURN if(_max='Table'[Date],'Table'[Date],blank())

1.PNG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Hi.
but when I use a filter it doesn't show me correctly

I would have to consider one more column

Hikmet_JCI_0-1623921798851.png

 

@Hikmet_JCI 

then you just need to create a measure

Measure = max('Table'[Date])

please see the attachment below





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Top Solution Authors
Top Kudoed Authors