Forum Discussion
Use parameter in measure
Hello,
I'm new to DAX and I'm doing a report that has some of the measures based on dates from a date column (ex.: calculate sum for a type of products for week 1).
I was looking for a way to change the value of the week from measures with the help of parameters. I created a parameter with the calendar values I need and I would like to select a date in "Edit parameters" and all measures based on the date to automatically change.
Any suggestions how can I integrate a parameter into a measure?
Thank you,
3 Replies
- stretcharmMemorable Member
- v-ljerr-msftMicrosoft Employee
Hi Sinziana300,
Have you tried the solution provided by stretcharm above? Does it work in your scenario? If it works, could you accept it as solution to close this thread?
If you still have any question on this issue, feel free to post here. :smileyhappy:
Regards
- Sinziana300Frequent Visitor