March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi ! I tried to use StartOfDay function in new column (I have datetime values but I need day report - and diferrent records has different hours and minutes. I work with Azure database and use DirectQuery - because the results are going to dashboard). I got an error that this transformation can't be used for live connection.
Menawhile I created columns with Year, Month, Day in EditQuery, then created a date from 3 of those and it is working but it's strange to use 4 columns instead of one.
Any ideas ?
By the way in another report I use StartOfWeek and it is working with live connection.
Thank you very much !
In Power Query "M", you should be able to use Date.From() with a datetime value fed in and it should return the date.
https://msdn.microsoft.com/en-us/library/mt260687.aspx
Thank you
!
It worked.
But I created a new weekly query and now Date.StartOfWeek is not "good" for live stream also (while I do have on report on dashboard where it works - have no idea what is the difference)
Any suggestion how can I create date unique for the week ? (preferably start of the week but any unique date will be ok)
Thank you !
Apologies, I'm not understanding what you are asking for. A unique date for the week?
Sorry 😞
I have a datetime value in my records and I wanted to create weekly report.
StartOfWeek function looked promising, but for some reason it worked for one of my live reports and not accepted anymore for others (may be after last update of power bi)
It doesn't have to be start of the week - just some way to count records by week.
Thank you very much !
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
123 | |
85 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |