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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

Date value function not returning as expected

Hi All,

 

I am using date value function to conver datetime column to date column in SSAS

Datetime column = 2017-08-30 23:59:59.607

Date column = 2017-08-31

 

Can i know how can i resolve this 

 

Thanks in advance

2 REPLIES 2
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

You said that you wanted to convert datetime column to date column in SSAS, do you mean the data  source is SSAS, then, you need to change data type in Power BI desktop? If you imported data from SSAS into Power BI, then, you can directly change column data type as is shown in below image. While if you created live connection to SSAS, this option is not available.

1.PNG

 

If you were talking about formatting date column in SSAS side, please have a look at below links. Also, I would suggest you post this question in SSAS forum to get professional advice.

Need to convert DateTime to Date in SSAS?

Format datetime to date

 

Best regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi v-yulgu-msft,

 

Thanks for your reply, yes i am using live connection to SSAS. if i dint use date function and just changing in properties, i am getting multiple times same date. But if i use Datevalue function, getting single date as expected.

 

   Date.JPG

 

Still i need a solution for my question

 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.