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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
kaisrec
Advocate I
Advocate I

Use a Function in Field Parameters Header

Is it possible to use a function in the header of the field parameters

kaisrec_0-1700311189340.png

for example, the field parameter to select Brand, Color, Category,
the point is to change the column title based on a slicer (LangaugeID)

kaisrec_1-1700311723419.png

the aim is to use the SELECTEDVALUE function, to capture the value selected by the user and use it in the column title

kaisrec_4-1700312205848.png

and use the same function in filed parameter

kaisrec_5-1700312298641.png

 

kaisrec_6-1700312608554.png

this doesn't work in the case of a function like SELECTEDVALUE, although does work in the case of a simple calculation such as an addition. Do you have a proposal for a suitable solution in this case?

 

 

 

1 REPLY 1
Fowmy
Super User
Super User

@kaisrec 

You cannot use SELECTEDVALUE in a table, as it works only in report ( filter context), Field Parameter is calculated table and it wont work there.

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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