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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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