Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi there!
I'm pulling in a dimension via the Google Analytics connector that gives me YYYYMMDDHHMM. Example: 202207281824
What's the best way to turn that in to a useable date type? I could probably do it with a bunch of split column functions, concatenation, etc. But I'd have to create those steps on all the tables. Is there formula that would worK?
Appreciate any help you can provide.
Thanks,
Paul
Solved! Go to Solution.
Hi @Langtry ,
Here's my steps of solution.
1.Change your column as text type.
2.Split column by number of characters.
3.Still make the new columns are text types.
4.Add a custom column.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Langtry ,
Here's my steps of solution.
1.Change your column as text type.
2.Split column by number of characters.
3.Still make the new columns are text types.
4.Add a custom column.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
You can use this expression in a custom column (or with Table.TransformColumns() )
= Date.FromText(Text.Start([DateTimeText],8))
Pat
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 5 | |
| 4 | |
| 3 |