Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello all,
I have a date column as "Text" format as following and I need to use this data in the slicer. But first of all, I need to create a hierarchy and split "Day" - "Month" - "Year" and "Quarter"
My data column seems like that in the "Data Sidebar" and I want to convert second one with Hierarchy.
from
to
But I can't use data transformation because of I don't have access the data storage server. That's why, I can just use add new column with measure.
Can I solve this problem using "New Measure, New Column"? Can I separate the dates? If yes, how can I do it?
Thank you,
Solved! Go to Solution.
Hello @ernum
Here is the solution. Use 'LEFT' DAX function to extract date in new column and then change the new column datatype to Date.
Column DAX looks like this:
Date = LEFT(Sheet1[OpenedAt],10)
Output looks like this:
If this post helps, then please consider accepting it as the solution to help other members find it more quickly. Thank You!!
Hello @ernum
Here is the solution. Use 'LEFT' DAX function to extract date in new column and then change the new column datatype to Date.
Column DAX looks like this:
Date = LEFT(Sheet1[OpenedAt],10)
Output looks like this:
If this post helps, then please consider accepting it as the solution to help other members find it more quickly. Thank You!!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
115 | |
100 | |
88 | |
69 | |
61 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |