Forum Discussion

lauriedata's avatar
lauriedata
Icon for Resolver I rankResolver I
10 months ago
Solved

first and 4th entry (variable) of a field parameter ?

Hello. While I have used both the parameter field name (first variable) and the value4 entry of a parameter (4th variable), in slicers or dax formulas depending on the need, I actually don't truly u...
  • danextian's avatar
    danextian
    10 months ago

    hi lauriedata 

     

    Those columns are meant for slicer selections.  Use something like this:

    COALESCE (
        SWITCH (
            SELECTEDVALUE ( parameterTable[order] ),
            1, "this text",
            2, "this text2"
        ),
        "selected measures"
    )