Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date dd/mm/yyyy or dd/MM/yyyy #86

Closed
l33smyth opened this issue Jun 15, 2021 · 2 comments
Closed

Date dd/mm/yyyy or dd/MM/yyyy #86

l33smyth opened this issue Jun 15, 2021 · 2 comments
Labels
issue: bug Confirmed as a bug in TE3
Milestone

Comments

@l33smyth
Copy link

l33smyth commented Jun 15, 2021

Hi
This could be a setting I've missed somewhere but the standard Format String selections appear to be at odds with the standard in Power BI Desktop when it comes to dates, certainly the non-US dates at least. In TE3, "dd/mm/yyyy" is only possible as a custom format, but in Desktop, this is a standard selection; choosing the TE3 option of "dd/MM/yyyy" is regarded by PBI Desktop to be a custom format. Both ways appear okay when dragged on to a report page, so this isn't a very severe bug - just an irritation!

image

@dgosbell
Copy link

This is due to a difference in the way that DAX and c# format strings work (TE3 is written in c#)

C# DAX Description
mm nn Minutes
MM mm / MM Months

in C# the uppercase M is different to the lowercase m so TE3 probably needs to translate these when generating the examples. I'd stick with "dd/mm/yyyy" and put up with the incorrect example until this gets fixed.

@otykier otykier added the issue: bug Confirmed as a bug in TE3 label Jun 16, 2021
@otykier otykier added this to the 3.0.8 milestone Aug 5, 2021
@otykier
Copy link
Collaborator

otykier commented Aug 6, 2021

Fixed in 3.0.8. Thanks for reporting!

@otykier otykier closed this as completed Aug 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: bug Confirmed as a bug in TE3
Development

No branches or pull requests

3 participants