Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hi Guys,
I need a little help on SELECTEDVALUE. What I wanted to achieve is when I select a month, it will display:
"For the month of <MONTH>, the TOTAL TRAFFIC is <SUM OF TOTAL TRAFFIC>, the AVERAGE PAGE PER SESSION IS <AVERAGE PAGE/SESSION> etc....
I created a measure that says
Solved! Go to Solution.
@emmanmapada I assume you have already created measure for total traffic and average session
I would suggest you to use nested concatenate function
Measure =
VAR _selectedMonth = SELECTEDVALUE('Month Order'[Month],"")
VAR _totaltraffic = SUM('Table'[Total Traffic])
VAR _AveragePageSession = Average('table'[field])
RETURN CONCATENATE("For the month of ",CONCATENATE(_selectedMonth,CONCATENATE(" the TOTAL TRAFFIC is ",CONCATENATE(_totaltraffic,CONCATENATE("AVERAGE PAGE PER SESSION IS ",_AveragePageSession)))))
@emmanmapada I assume you have already created measure for total traffic and average session
I would suggest you to use nested concatenate function
Measure =
VAR _selectedMonth = SELECTEDVALUE('Month Order'[Month],"")
VAR _totaltraffic = SUM('Table'[Total Traffic])
VAR _AveragePageSession = Average('table'[field])
RETURN CONCATENATE("For the month of ",CONCATENATE(_selectedMonth,CONCATENATE(" the TOTAL TRAFFIC is ",CONCATENATE(_totaltraffic,CONCATENATE("AVERAGE PAGE PER SESSION IS ",_AveragePageSession)))))
User | Count |
---|---|
12 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
24 | |
19 | |
14 | |
10 | |
7 |