Forum Discussion
Anonymous
6 years agoNot applicable
Learning PowerBI: Why do functions return "function" in a table, instead of actual "value"?
Ok... so I'm trying to learn the basics of Power BI, and I have a few points that are just down right confusing... This isn't specific to DateTime, but I'm using it as a sample function... If...
- 6 years ago
Hi Anonymous ,
I tried both scenarios in Power BI at my end.
- Created a custome column "test" using DateTime.LocalNow(). This gave me the current value in date-time format.
- Created a custom column "test1" usingDateTime.Date(DateTime.LocalNow()). This gave me the current value indate format.
Just wanted to check if you can paste screenshot of the FUNCTION message which you are getting while using DateTime.LocalNow() as I don't get any such message at my end?
If this helps and resolves the issue, appreciate a Kudos and mark it as a Solution! 🙂
Thanks,
Pragati
Anonymous
6 years agoNot applicable
parry2k, thank you for the response. I should clarify I was doing this in Power Query / M, not DAX. I'll see if I can grab a screenshot for you today. Thank you for testing it out.
parry2k
6 years agoSuper User
Anonymous the sceenshot I shared is from power query not DAX.