Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Sinziana300
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
stretcharm
Memorable Member
Memorable Member
3 REPLIES 3
v-ljerr-msft
Employee
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. Smiley Happy

 

Regards

Hi @v-ljerr-msft,

 

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

stretcharm
Memorable Member
Memorable Member

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.