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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
patboutot18
Regular Visitor

Using slicer values in measures

Hi, 

 

I need to calculate the average of a performance indicator depending on a slicer value that represents a period. Let's say the user chooses period 100, I need to calculate the average of the performance indicator for periods 96,97 and 98. So I tried to extract the value of the slicer with Selected Value and then substract 2 to that measure to get the 98 I wanted, but when I add that measure into my average measure it shows blank. Although, when I write 98 manually into the formula, it works.

 

What have I done wrong? 

 

Thanks in advance. 

1 REPLY 1
Anonymous
Not applicable

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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