Forum Discussion

warnera's avatar
warnera
Helper I
6 years ago
Solved

Converting date summary from report

Hello,  I searched around the forum and couldn't find my situation. I have a report that creates summary months in this format: 2019M2 , 2019M3, etc.   I tried a few different things I read on here...
  • v-zhenbw-msft's avatar
    6 years ago

    Hi warnera ,

     

    We can use the following steps in Power Query Editor to meet your requirement.

     

    1. Split column by "M".

     

     

    2. We select the two columns at same time, then we select merge columns function.

     

     

    3. At last we need to merge the columns by "/", and change the type to date. 

     

     

    The result like this,

     

     

    If it does not meet your requirement, could you please show the exact expected result based on the table that we have shared?

    BTW, pbix as attached.

     

    Best regards,

     

    Community Support Team _ zhenbw

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