The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
i have date column which isto be formated to mm/dd/yyyy. That also correctly formated within power bi and created report using table visualization .In power bi it is showing correctly like this.
But when i try to export data and by viewing report in excel sheet date foramat is not reflected in excel.
why it is happening in excel?plse help
Excel handles dates differently to Power BI, so you may need to format the Excel file separately. Only way around this would be to format the date in Power BI as a text column, so that the exact formatting is preserved on export to Excel, but this won't be able to be used in any calculations or sorting.
Excel data types: https://support.microsoft.com/en-us/office/data-types-in-data-models-e2388f62-6122-4e2b-bcad-053e3da...
Dates are actually just serial numbers counting number of days since Jan 1, 1900
Power BI data types; https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-data-types
There is actually a date data type.
Formatting (MM/DD/YYYY vs DD/MM/YYYY) is a different thing again to data type, so this does not get preserved on export.
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com