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

Max Over Partition en DAX

Hola equipo,

Estoy intentando crear el cálculo DAX para la instrucción SQL inferior. ¿Puedes ayudarme en esto, por favor?

SELECCIONE MAX(DATE) OVER (PARTITION BY PD, CA ORDER BY DATE DESC) COMO MAX_DATE
DESDE LA MESA

Gracias

1 ACCEPTED SOLUTION
Super User IV
Super User IV

@BSM1985 ,

Pruebe una medida como esta y agregue eso a visual

calculate(max(TABLE[DAte]),allexcept(Table, Table[PD], Table[CA]))



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

2 REPLIES 2
Super User IV
Super User IV

@BSM1985 ,

Pruebe una medida como esta y agregue eso a visual

calculate(max(TABLE[DAte]),allexcept(Table, Table[PD], Table[CA]))



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

Gracias @amitchandak como siempre

Helpful resources

Announcements
secondImage

Happy New Year from Power BI

This is a must watch for a message from Power BI!

December Update

Check it Out!

Click here to read more about the December 2020 Updates!

Community Blog

Check it Out!

Click here to read the latest blog and learn more about contributing to the Power BI blog!

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Top Solution Authors