Forum Discussion

Jskdlai23's avatar
Jskdlai23
Regular Visitor
1 year ago
Solved

How to Dynamically Set Field Parameter Title Based on a Slicer in DAX?

Hi everyone,   I'm working on a Power BI report and trying to set the title of a field parameter dynamically using a SELECTEDVALUE. The goal is to make the column title in a matrix update based on ...
  • vojtechsima's avatar
    1 year ago

    Hello, Jskdlai23 
    you can't use SELECTEDVALUE for Field Parameter in its pure form.

    There's a quick workaround tho:
    Field parameter as it is:

    Create new calculated column inside the field parameter table like this, basically referencing the first column

     

    Then use SELECTEDVALUE for newly created column that mirrors the original one.