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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
sb48846
Frequent Visitor

How can i assign a value from selectedvalue(column) function into custom column

Hi Team,

 

I have created a measure to get the value of month from the selcted filter by using SELECTEDVALUE(table column) function, however i need same value to be assigned to a custom column for each row in a table. 

Please suggest me how to get the value into custom column by using SELECTEDVALUE function.

 

Thanks,

Suman.

2 REPLIES 2
FreemanZ
Super User
Super User

hi @sb48846 

what do you mean by custom column?

Hi @FreemanZ ,

 

I mean i have crated

first mesure with following code in one table  as below and it displays slected value from filter for each row.

SelectedMonth_M = SELECTEDVALUE('Table Calender'[Month])
Created a new column in same table as below but it does not display any value for each row.
SelectedMonth = SELECTEDVALUE('Table Calender'[Month]).
 
Please see below screenshot.
 
sb48846_0-1676974890948.png

 

Thanks,

Suman.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.