Forum Discussion

Yaciineq's avatar
Yaciineq
New Member
3 years ago
Solved

Dax help

Hi everyone,

 

I'm looking for a formula to show the date related to "accident avec arret". i d

 

DateType
31/01/2023Soins
16/02/2023Soins
22/02/2023Soins
24/02/2023Soins
03/03/2023Soins
22/03/2023Accident avec arrêt
17/01/2023Soins
28/02/2023Pandémie
08/03/2023Soins

 

Thanks for your help

  • ah okay,

     

    click on the measure in the data pane, then on the mearsure tools, select the format to short date:

    If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

     

     

     

7 Replies

  • DOLEARY85's avatar
    DOLEARY85
    Resident Rockstar

    Hi,

     

    try:  

    Measure 6 = CALCULATE(MAX('Table (7)'[Date]),'Table (7)'[Type]="Accident avec arrêt")
     
    If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
     
  • No it didn't work, i want 22/03/2023 as result so i can show it on dashboard

    Thank you

    • DOLEARY85's avatar
      DOLEARY85
      Resident Rockstar

      What are you getting instead? This is the result i get from that measure:

      If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

      • Yaciineq's avatar
        Yaciineq
        New Member

        I got this result, i don't know why i have the time ?

         

        Thank you for your help