Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi, when I connect a SQL server into Power BI, the date field(set as yyymmdd, es 20180102) becomes a SUM.
Pls can you help me?
How can I change it and to have it like a date, and not like a sum of numbers?
Solved! Go to Solution.
Hi @Andrea78m,
Add a new calculated column.
Column2 = LEFT ( Table2[Column1], 4 ) & "/" & RIGHT ( LEFT ( Table2[Column1], 6 ), 2 ) & "/" & RIGHT ( Table2[Column1], 2 )
Best regards,
Yuliana Gu
Hi @Andrea78m,
I think the date values which is formatted as "20180102" is recognized as whole number. The highlighted symbol ponits that the data type is number. So, please change the data type to "Date" in the ribbon.
Best regards,
Yuliana Gu
Unfortunately it gives me error
Maybe I'd modify the query in power BI?
Do you habe others idea to solve it?
Hi @Andrea78m,
Add a new calculated column.
Column2 = LEFT ( Table2[Column1], 4 ) & "/" & RIGHT ( LEFT ( Table2[Column1], 6 ), 2 ) & "/" & RIGHT ( Table2[Column1], 2 )
Best regards,
Yuliana Gu
User | Count |
---|---|
91 | |
73 | |
68 | |
63 | |
55 |
User | Count |
---|---|
98 | |
89 | |
74 | |
67 | |
62 |