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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

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

Top Solution Authors
Top Kudoed Authors