Forum Discussion
[DAX] Format function returning wrong month and date?
Hi,
So I have a problem with the formatting function which could be error 45 (I.e. yours truly) or something really interesting is happening in Power BI. When using the following syntax:
Need some help 😄
13 Replies
- _AAndradeResident Rockstar
The problem is in you dax formula. You put
And you must put -1 inside parantesis. like this:
- SEMattisAdvocate III
And perhaps even more worrying?
- _AAndradeResident Rockstar
Tell me what you want to show on the visual and I will give you the correct dax function.
- SEMattisAdvocate III
So I want the FORMAT function to return "December" rather than January
- AnonymousNot applicable
I'am having the same problem. It is terrible.
- _AAndradeResident Rockstar
Open a new ticket with your problem and I will take a look
- AnonymousNot applicable
Hi SEMattis
How about FORMAT(TODAY(),"MMM") ? Perhaps MOTH function is messing up something .
Thanks !- SEMattisAdvocate III
Well this would not work since I am dependent on months in the past to solve my problem. Good idea though.