Forum Discussion
alexa_0028
Resolver II
5 years agoPoor Performance of Report
Hi All, I have a big sales tables which contains invoice date. I am calculating last_invoice as measure= datediff(today(),max([Invoice Date]),DAY) When I am adding this to my table it takes ...
- 5 years ago
alexa_0028
Try one of the following:last_invoice = INT ( TODAY() - SELECTEDVALUE ( TABLE[Invoice Date]) ) last_invoice = INT ( TODAY() - MAX ( TABLE[Invoice Date]) )
Fowmy
Super User
5 years agoalexa_0028
Try one of the following:
last_invoice = INT ( TODAY() - SELECTEDVALUE ( TABLE[Invoice Date]) )
last_invoice = INT ( TODAY() - MAX ( TABLE[Invoice Date]) )alexa_0028
Resolver II
5 years agoThis worked after creating it as calculated column instead of measure