Forum Discussion
I having problems with this coding. I've tried troubleshooting but I'm still having problems.
HI Anonymous
Can you insert a close bracket for maxPrice & minPrice
VAR maxPrice = CALCULATE(SELECTEDVALUE('Stock Prices'[Close]), 'Stock Prices'[Date] = maxDate)
VAR minPrice = CALCULATE(SELECTEDVALUE('Stock Prices'[Close]), 'Stock Prices'[Date] = minDate)
Let me know if this helps and if you face any more error.
If this post helps, then please consider Accept it as the solution to help the others find it more quickly. Appreciate you kudos!!
Follow me on LinkedIn!!!
2 Replies
- NaveenGandhi
Memorable Member
HI Anonymous
Can you insert a close bracket for maxPrice & minPrice
VAR maxPrice = CALCULATE(SELECTEDVALUE('Stock Prices'[Close]), 'Stock Prices'[Date] = maxDate)
VAR minPrice = CALCULATE(SELECTEDVALUE('Stock Prices'[Close]), 'Stock Prices'[Date] = minDate)
Let me know if this helps and if you face any more error.
If this post helps, then please consider Accept it as the solution to help the others find it more quickly. Appreciate you kudos!!
Follow me on LinkedIn!!! - AnonymousNot applicable
NaveenGandhi Thank you! That fixed it!