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
sshiny
Helper II
Helper II

Date column

I am using a date column whose format is mm/dd/yyyy in the model file. But, when I use the column in a measure(as a value inside a datacard) it brings time along with date. Please let me know how to show the date only.

sshiny_0-1663157648895.pngsshiny_1-1663157667217.png

Measure used in the data card -

Missing/Disputed Missing Since =
SWITCH (
TRUE (),
ISFILTERED('Tag Usage Fact'[Tag ID]),CONCATENATE("Missing/Disputed Since - ",SELECTEDVALUE('Loaner Consign Fact'[Missing Since]))
)

 

6 REPLIES 6
sshiny
Helper II
Helper II

@amitchandak Can you please help with this?

 

Greg_Deckler
Community Champion
Community Champion

@sshiny Select the measure in the desktop and in the Measure Tools tab, change the display format to short date.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler I dont have that option 

sshiny_0-1663159820180.png

 

@sshiny If all else fails, try this:

Missing/Disputed Missing Since =
VAR __DateTime = TRUNC(SELECTEDVALUE('Loaner Consign Fact'[Missing Since]))
  SWITCH (
    TRUE (),
    ISFILTERED('Tag Usage Fact'[Tag ID]),CONCATENATE("Missing/Disputed Since " 
    ,DATE(YEAR(__DateTime), MONTH(__DateTime), DAY(__DateTime))
)


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Hi @sshiny ,

 

Here:

vcgaomsft_0-1663221645142.png

change the data format to Short Date:

vcgaomsft_1-1663221751340.png

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

Anonymous
Not applicable

Hello @sshiny ,

any updates?

 

Best Regards,
Gao

Community Support Team

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.