cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

SELECTED VALUE

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 

SelectedMonth = "For the month of "&SELECTEDVALUE('Month Order'[Month],"")
but I don't know how to make the rest.
 
snip.jpg
 
Thank you in advance! 🙂
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User II
Super User II

Re: SELECTED VALUE

@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)))))





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

1 REPLY 1
Highlighted
Super User II
Super User II

Re: SELECTED VALUE

@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)))))





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

Helpful resources

Announcements
Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors