Forum Discussion
jbolivar
7 years agoFrequent Visitor
Parameter What If
Hello friends. According to the function indicated below, a calculation is being made to a specific year (2019). AcumulaPeriodos Unds = // VAR CuentaMeses = CALCULATE(DISTINCTCOUNT(DATA[Mes])...
- 7 years ago
You can create a variable in the starting of the measure and use this variable everywhere:
VAR SelectedYear = FORMAT(SELECTEDVALUE(Paremeter[Paramter]), "####")
Format function will convert the Integer to a Text.
AkhilAshok
7 years agoSolution Sage
You can create a variable in the starting of the measure and use this variable everywhere:
VAR SelectedYear = FORMAT(SELECTEDVALUE(Paremeter[Paramter]), "####")
Format function will convert the Integer to a Text.