Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
emmanmapada
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
Anonymous
Not applicable

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

View solution in original post

1 REPLY 1
Anonymous
Not applicable

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

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.