Forum Discussion

lucasvaranda's avatar
lucasvaranda
New Member
2 years ago
Solved

Data

Estou com duvidas de como tranfroma uma data que está em texto, para a forma correta. A data está no formato "29 de veveriro de 2024 10:40 hr" e quero transforma para "29/02/2024". Alguém poderia me ...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi lucasvaranda ,

    Since I don't know Portuguese, I'm not sure which of these you are referring to February, so I'll give you an example in English. You can ONLY realize the effect in Power Query:
    Here is my sample data:

    Please follow these steps:

    If de veveriro de refers to February, you will need to add an extra step to combine the three parts into one column.

    The final output is as below:

     

    The standard date display format on my side is MM/DD/YYYYY, if the standard date format in your region is DD/MM/YYYYY, Power BI will automatically convert to that format.

    Best Regards,
    Dino Tao
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.