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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Yaciineq
New Member

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

1 ACCEPTED SOLUTION

ah okay,

 

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

DOLEARY85_0-1681739459201.png

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

 

 

 

View solution in original post

7 REPLIES 7
Yaciineq
New Member

No it didn't work, i want 22/03/2023 as result so i can show it on dashboard

Thank you

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

DOLEARY85_0-1681738137076.png

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

Sans titre.png

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

 

Thank you for your help

 

ah okay,

 

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

DOLEARY85_0-1681739459201.png

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

 

 

 

You roooock

 

Thanks a lot

No worries, happy to help 🙂

DOLEARY85
Resident Rockstar
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 👍
 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.