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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
PowerNewUser
Resolver I
Resolver I

Date required instead of datetime in report from Fabric/Datawarehouse

I am trying to make a dashboard using a datawarehouse dataset. The dataset has a date type set as only date (not datetime). However when I add it to my dashboard table visual I get a datetime format. 

 

Because it is from the datawarehouse the column tools are all disabled. I can only create measures without creating a local model. 

PowerNewUser_0-1698254850229.png

How do I get it back to a date format - do I need to create a text field to show this information?

1 ACCEPTED SOLUTION

@PowerNewUser OK, well, you could create a measure like this:

 

Measure = 
  VAR __Date = MAX('Table'[Date])
  VAR __Result = DATE( YEAR( __Date ), MONTH( __Date ), DAY( __Date ) )
RETURN
  __Result

 



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...

View solution in original post

5 REPLIES 5
Greg_Deckler
Community Champion
Community Champion

@PowerNewUser You should be able to just adjust the Format for the column to only display date instead of 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...

@Greg_Deckler 
It is set as date in the source (with power query) and column tools are disabled so i cant modify the format there (see the screenshot). I cant even modify from the model screen. 

PowerNewUser_0-1698257924264.png

 

@PowerNewUser What about changing it here:

Greg_Deckler_0-1698258306858.png

 

Wait, are you Live connected to the data warehouse? (SQL Server Analysis Services)?

 



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 

thats disabled as well (original post screenshot). 

 

Yes on the connection (i think) - I did the get data from Microsoft Fabric/DataWarehouse

@PowerNewUser OK, well, you could create a measure like this:

 

Measure = 
  VAR __Date = MAX('Table'[Date])
  VAR __Result = DATE( YEAR( __Date ), MONTH( __Date ), DAY( __Date ) )
RETURN
  __Result

 



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...

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors