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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

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.