Page 4 of 4 FirstFirst 1234
Results 46 to 54 of 54
  1. #46
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,914

    Quote Originally Posted by Sonyat810 View Post
    Sorry, I didnt mean to cross post but I sense your patience is running thin with so many post. Just trying to figure this out.
    Not really, if I went to the trouble of downloading and installing PBI, then connecting to your test db from PBI.
    That was as far as I could go, as I have no knowledge of PBI.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  2. #47
    Sonyat810 is offline Advanced Beginner
    Windows 7 64bit Office 365
    Join Date
    May 2022
    Posts
    37
    I have a linked csv file that feeds to power BI. I am using access databse for the user interface. to feed the linked .csv file, but when I open power bi the date is missing because it doesnt ecpect the timestamp. I am trying to program the control source for the date using DateValue and Format. When I open the actual csv file I am still seeing the time stamp

  3. #48
    Minty is offline VIP
    Windows 10 Office 365
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,003
    Can you up load a sample of the original csv?

    I have played around with Power BI and SQL data sources and there wasn't an issue, so I'd be amazed if it can't function with a link to an access table with a datetime field, or a even an access query.
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  4. #49
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,914
    @minty
    Sample Db is in one of the posts called test.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  5. #50
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,114
    This is a very old problem with the export specifications, I suggest you export it as a short text as suggested in some of these links (this is the Google search I used:https://www.google.com/search?q=acce...ome&ie=UTF-8):
    https://www.access-programmers.co.uk...e-time.140835/
    https://www.access-programmers.co.uk...-wrong.287065/
    https://www.access-programmers.co.uk...t-time.117897/
    So simply wrap the [Date] field (you should rename it as suggested multiple times) in a Format([Date],"mm/dd/yyyy") in a query based on the original table and export that instead.
    Code:
    SELECT LD_Master.ID, Format([Date],"mm/dd/yyyy") AS ExportDate, LD_Master.Area, LD_Master.[Liquid Amount (Gallons)], LD_Master.Comment, LD_Master.[Site Type], LD_Master.Street, LD_Master.City, LD_Master.[Zip Code]
    FROM LD_Master;
    Cheers,
    Vlad Cucinschi
    MS Access Developer
    http://forestbyte.com/

  6. #51
    Sonyat810 is offline Advanced Beginner
    Windows 7 64bit Office 365
    Join Date
    May 2022
    Posts
    37
    Format([Date],"mm/dd/yyyy") almost got me there. Now the date picker is disabled.

  7. #52
    Sonyat810 is offline Advanced Beginner
    Windows 7 64bit Office 365
    Join Date
    May 2022
    Posts
    37
    I fixed it. I just re-imported my csv file and for date I picked short text and that did the trick. Thank you for all your help

  8. #53
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,114
    Vlad Cucinschi
    MS Access Developer
    http://forestbyte.com/

  9. #54
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,914
    I just downloaded PBI to a faster PC and installed it.
    Using your test db I connected to it from PBI and data came in fine? See the pics, left is PBI, right is Access query.

    So no idea why you are playing around with a csv file pass on the data?
    Attached Thumbnails Attached Thumbnails PBI Filter.PNG   ACcess query.PNG  
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

Page 4 of 4 FirstFirst 1234
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Timestamp converted to just date
    By Lisa Roby in forum Queries
    Replies: 12
    Last Post: 03-24-2020, 07:41 PM
  2. Replies: 8
    Last Post: 11-16-2017, 03:07 PM
  3. Replies: 6
    Last Post: 06-30-2017, 02:15 PM
  4. Replies: 6
    Last Post: 04-19-2016, 03:58 PM
  5. Replies: 3
    Last Post: 11-12-2014, 05:31 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums