Forum Discussion
PBIfanatic
6 years agoHelper V
Difference between dates - power query
Hi, How do I calculate the difference between the dates in power query without loosing query folding? I tried using Duration.Days function, but it comes with an error saying I need to import the...
camargos88
6 years agoCommunity Champion
Hi PBIfanatic ,
Are you using database ? If yes, why don't you create a calculated field on your query ?
Ricardo
PBIfanatic
6 years agoHelper V
Hi camargos88 ,
Thanks for your reply, do you mean creating a column in the database?
The problem is, its a long process to make a change to the db. Hoping Power BI to come to the rescue 🙂
- camargos886 years agoCommunity Champion
- PBIfanatic6 years agoHelper V
- camargos886 years agoCommunity Champion
Yes, I don't know what you are using (view/procedure...) but is it possible to use a hardcode ?
Ricardo