Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have no idea how microsoft manage to make such a simple thing so complicated?
I have an excel file connected to PowerBI and a text columnn has been "transformed" to date value, all looks OK etc. The colum is called [StatDueOn].
Now the magic? Just trying to calculate Now()-[StatDueOn] OR whatever the formula is.....takes 2 secs to do this in Excel/Access, but keep getting errors. What is the correct syntax. I have added a custome column when I do this.....called DaysLate
Solved! Go to Solution.
Hi @Anonymous
It is in the Modeling pane in "BI/Graphic phase"
hi @Anonymous
try new calculated column
Column = DATEDIFF([StatDueOn], NOW(), day)
HI is this in the query edit phase, or on the BI/Graphics phase? Have realised (reswitched brain on!) that new measures can be added post transformation, whereas I was trying to do all calcs during the backend phase.....
@az38 wrote:hi @Anonymous
try new calculated column
Column = DATEDIFF([StatDueOn], NOW(), day)
Hi @Anonymous
It is in the Modeling pane in "BI/Graphic phase"
Worked ok then - before it was not finding [StatDueOn] - note I added NEW Column and not new measure etc and it was fine.
@az38 wrote:Hi @Anonymous
It is in the Modeling pane in "BI/Graphic phase"
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
97 | |
82 | |
67 | |
61 |
User | Count |
---|---|
148 | |
113 | |
97 | |
84 | |
67 |