Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
I have an excel file consisting "Period" column in text format.
How can I read only the month rows (Exclude Q1 19) and convert to date?
Solved! Go to Solution.
Hi @PBI_newuser
In addition to Ashish_Mathur 's reply. I build a column like yours to have a test.
If we only remove all rows with Q and FY and change the column type to Date, you column will show as below.
The date may show wrong result.
So we need to add one step: replace 18 as 2018 and replace 19 as 2019 then change the type as Date.
The result is as below.
Select Colse&Apply and you can change the Format of this column in Column Tools.(Set Format as "yyyy-mm")
Due to date type, the real value for "yyyy-mm" is "yyyy-mm-dd". EX: 2018-10 = 2018/10/01.
You can download the pbix file from this link: Convert Text Date to Date format
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @PBI_newuser
In addition to Ashish_Mathur 's reply. I build a column like yours to have a test.
If we only remove all rows with Q and FY and change the column type to Date, you column will show as below.
The date may show wrong result.
So we need to add one step: replace 18 as 2018 and replace 19 as 2019 then change the type as Date.
The result is as below.
Select Colse&Apply and you can change the Format of this column in Column Tools.(Set Format as "yyyy-mm")
Due to date type, the real value for "yyyy-mm" is "yyyy-mm-dd". EX: 2018-10 = 2018/10/01.
You can download the pbix file from this link: Convert Text Date to Date format
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
In the Query Editor, filter out anything starting with Q and FY. Right click on the column and select Date.
@PBI_newuser , I Power Query, Create a Column Like this and remove Q(Qtr) and F(FY) Columns
New Col = Text.Start([COl1],1)
Then You can create date like with this given format
Date = "01 " & [Col1] // Mark this as date column
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
70 | |
57 | |
37 | |
36 |
User | Count |
---|---|
85 | |
65 | |
60 | |
46 | |
45 |