Forum Discussion
frostys
Helper I
8 years agoChange a value by a variable in measure
Hi everyone, I try change this value ("3") by a variable : EOMONTH('Data input'[Date],3)>TODAY() I want to choose with a slicer the number of month. I have created a new table "Time sl...
Thejeswar
Super User
8 years agoHi frostys,
Try using the below code
EOMONTH('Data input'[Date],SELECTEDVALUE('Time slicer'[Time slicer])>TODAY()
Here the
SELECTEDVALUE('Time slicer'[Time slicer])will hold the value of the selection that you make in the slicer
- frostys8 years ago
Helper I
Hi Thejeswar,
This syntax is incorrect ,
I think it expect a alternate result but I don't find the correct syntax
- Thejeswar8 years ago
Super User
Hi,
DId you try my other suggestion?
Did it work?
- v-jiascu-msft8 years ago
Microsoft Employee