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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Xperl
Regular Visitor

DATE Issue - PB Publisher for EXCEL

Hi,

 

I'm working on a POWER BI project to analyse ERP data connecting POWER BI to SQL.

 

For my accounting service i need to user POWER BI PUBLISHER for Excel.

 

But i've an issue with the date format in the PB Builder it's fine, Excel dont reconize the date format ... :

 

Date format is OK in the builderDate format is OK in the builder

 

Date format is not reconized in Publisher for ExcelDate format is not reconized in Publisher for Excel

 

 

Could you please help me ? Did i do something wrong ?

 

Thank's for your help !

Ben

1 ACCEPTED SOLUTION

Hi V-Ljerr,

 

Thanks for your answer.

I just try to update my Windows 10, Power BI Desktop and Power BI Publisher but still the same issue 😞 ... it look like a date format but it's not :ExcelKODate.png

 

 

 

I tried to connect POWER QUERY for Excel strait to my SQL Database to compare and the result is not the same ! I have date +year / month date automaticaly and i can use chronology function :

 

StraitPQConnexion.png

 

To move forward i created a calendar dimension table in power bi with the following DAX expression and i linked it with my other table to filter data. It works fine 😉 :

 

CALENDRIER = ADDCOLUMNS (CALENDAR(DATE(2010;1;1); DATE(2020;12;31)); "Année"; YEAR ( [Date] ); "N° Mois"; FORMAT ( [Date]; "MM" ); "Mois"; FORMAT ( [Date]; "mmm" ); "N°Semaine"; WEEKDAY ( [Date] ); "Jour"; FORMAT ( [Date]; "dddd" ); "Trimestre"; "T" & FORMAT ( [Date]; "Q" ))

Thanks for your help !

Ben

 

 

 

 

 

 

 

 

View solution in original post

2 REPLIES 2
v-ljerr-msft
Employee
Employee

Hi @Xperl,

 

I just verified that the date field can be recognized correctly by Excel with the latest version of Power BI publisher for Excel in my environment.

 

d1.PNGd2.PNG

 

Could you try downloading and installing the latest version of Power BI publisher for Excel from here to see if it works? Smiley Happy

 

Regards

Hi V-Ljerr,

 

Thanks for your answer.

I just try to update my Windows 10, Power BI Desktop and Power BI Publisher but still the same issue 😞 ... it look like a date format but it's not :ExcelKODate.png

 

 

 

I tried to connect POWER QUERY for Excel strait to my SQL Database to compare and the result is not the same ! I have date +year / month date automaticaly and i can use chronology function :

 

StraitPQConnexion.png

 

To move forward i created a calendar dimension table in power bi with the following DAX expression and i linked it with my other table to filter data. It works fine 😉 :

 

CALENDRIER = ADDCOLUMNS (CALENDAR(DATE(2010;1;1); DATE(2020;12;31)); "Année"; YEAR ( [Date] ); "N° Mois"; FORMAT ( [Date]; "MM" ); "Mois"; FORMAT ( [Date]; "mmm" ); "N°Semaine"; WEEKDAY ( [Date] ); "Jour"; FORMAT ( [Date]; "dddd" ); "Trimestre"; "T" & FORMAT ( [Date]; "Q" ))

Thanks for your help !

Ben

 

 

 

 

 

 

 

 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.