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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Anonymous
Not applicable

date format not correct when displayed in a card

Hello community: 

I have a problem when I want to display a date in a card. The following happens:

Here's my data: as you can see the format does not inlcude hours, minutes and seconds. 

Sarah_602_0-1623057872851.png

But I have the following problem, when I want to show a measure that needs the data from the date column I get hours, minutes and seconds. 

Sarah_602_1-1623058017432.png

I can't understand why I am getting this error. I have also checked in Power Query and the format selected for the column in 'date' not 'date/hour'. 

I want to be able to display the card without hours, min and secs ONLY the date dd/mm/yy

1 ACCEPTED SOLUTION
Pragati11
Super User
Super User

Hi @Anonymous ,

 

As you mentioned you are moving a measure to your card visual, not the underlying column from your data.

In that case click on your measure and on the top ribbon, what is it's format. I think the foremat of your measure is datetime therefore it is displaying it that way. Change it to just date format, then it will display what you are looking for.

Measure are calculations using underlying columns from your data. That doesn't necessarily mean that it will take the same data-type as your underlying column using which it is calculated.

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

View solution in original post

1 REPLY 1
Pragati11
Super User
Super User

Hi @Anonymous ,

 

As you mentioned you are moving a measure to your card visual, not the underlying column from your data.

In that case click on your measure and on the top ribbon, what is it's format. I think the foremat of your measure is datetime therefore it is displaying it that way. Change it to just date format, then it will display what you are looking for.

Measure are calculations using underlying columns from your data. That doesn't necessarily mean that it will take the same data-type as your underlying column using which it is calculated.

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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