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
Anonymous
Not applicable

Getting the last date without time

Hi,

 

I'm creating a measure which shows the last date.  I'm creating it with the following measure:

 

6_last_issue_date = maxx(table1, table1[issue_date].[Date])

 

 

It isn't clear in the picture but I'm using a card to show the date on.

 

I get the next result:

Annotation 2020-02-06 121711.png

 

And I'm trying to get the next result:

Annotation 2020-02-06 121842.png

 

 

 

I don't know where he gets the time from, because in my modeling tab of the data i put it on a format without time : dd/MM/yyyy

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@Anonymous Try wrapping your measure in format function

Measure = FORMAT(MAXX('Table','Table'[Date]),"MM/dd/yyyy")

View solution in original post

1 REPLY 1
Anonymous
Not applicable

@Anonymous Try wrapping your measure in format function

Measure = FORMAT(MAXX('Table','Table'[Date]),"MM/dd/yyyy")

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors