Forum Discussion
greenelephant
10 years agoNew Member
How can i use momentjs in custom visuals?
I am writing a simple custom visual and i would like to know how i could go about and use moment.js in that visual. I saw there is a typescript def in the git-repo ->PowerBI-visuals/src/Clients/Type...
- 10 years ago
To develop a custom visual, please use the PowerBI Custom Visual CLI Tools. There you could find the tutorial on Adding External Libraries and Installing Typings for Libraries.
ChrisWilliams
Advocate II
9 years agoFYI: This answer on stack overflow solved my namespace problem with moment typings: https://stackoverflow.com/a/42290662/79271
greenelephant
8 years agoNew Member
glad you found a solution. Its been a while for me that i worked with powerbi and I cant remember how i made it work now