Forum Discussion
Prabha45
Helper III
3 years agoDAX - Selected value
Hi I wrote a measure where if is January is selected measure shows 1, february 2, so on till december. Measure = switch(selectedvalue (dim_table[month_name]), ...
Prabha45
Helper III
3 years agoI need to trigger a function app with the filters selected in Power BI as input for the function app. It has month parameter which accepts inputs as 1 or 1,2 or 1,2,3. If I use the above measure( text format) it takes the values as "1,2,3". So, I converted it to integer then it took input as 123.
tamerj1
Community Champion
3 years agoSo with CONVERT you got your desired outcome? Or you still need further support? If so please clarify further perhaps with some examples and/or screenshots.
- Prabha453 years ago
Helper III
No. If I use convert, the output of the measure changes to 123. With 123 as input, I can't trigger the function app.
If I don't use convert, the measure output is 1,2,3. when I pass this as input it takes as "1,2,3".