cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Sinziana300 Frequent Visitor
Frequent Visitor

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,

 

1 ACCEPTED SOLUTION

Accepted Solutions
stretcharm Senior Member
Senior Member

Re: Use parameter in measure

3 REPLIES 3
stretcharm Senior Member
Senior Member

Re: Use parameter in measure

v-ljerr-msft Super Contributor
Super Contributor

Re: Use parameter in measure

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. Smiley Happy

 

Regards

Sinziana300 Frequent Visitor
Frequent Visitor

Re: Use parameter in measure

Hi @v-ljerr-msft,

 

Yes I accepted the response, it works. Thank you.