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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.