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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
Anonymous
Not applicable

Selectedvalue, user input

I'm struggling with selectedvalue, I setup a single value slicer to get the user input on productivity ratio.

 

Labor_Productivity_Ratio = GENERATESERIES(0.32,1.51 , 0.01)
Labor_Productivity_Ratio Value = SELECTEDVALUE('Labor_Productivity_Ratio'[Labor_Productivity_Ratio])
 

the labor productivity is reported correctly in the report tab, but when I use the selectedvalue from the slicer for calculation, then always return blank.

my purpose is to  selected productivity by user and then calcualte the man-hours needed, and eventually calcualte the cost. 

a snapshot as below: 

Richard_Pan_1-1615005514785.png

 

please kindly help, many thanks in advance. 

 

 

1 ACCEPTED SOLUTION

Hi @Anonymous 

You are using it in a calculated column, this is the cause. Calculated columns are calculated and populated when they are created and refreshed. They are not able to be changed dynamically according to users' interactive behaviors in the report. And your Labor_Productivity_Ratio Value is actually a measure with the default value blank(), so it displays blank() in the column.

To use it dynamically, you should put it in measures or visuals directly. Use measures to calcualte the man-hours and costs instead of calculated columns. 

 

Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

some supplement information:  I want to use the selected value back to data calculation, but always get blank, isn't the selectedvalue a global variant? or I can only use that in measure?

Richard_Pan_0-1615035285119.png

 

Hi @Anonymous 

You are using it in a calculated column, this is the cause. Calculated columns are calculated and populated when they are created and refreshed. They are not able to be changed dynamically according to users' interactive behaviors in the report. And your Labor_Productivity_Ratio Value is actually a measure with the default value blank(), so it displays blank() in the column.

To use it dynamically, you should put it in measures or visuals directly. Use measures to calcualte the man-hours and costs instead of calculated columns. 

 

Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.