Forum Discussion

Wresen's avatar
Wresen
Post Patron
1 year ago
Solved

Select all parameter

Hi and thanks for reading this, I am new with parameters and i have tried my way trough posts online. I have parameters working for singel and multi select. I have a year-list with paramaters in t...
  • lbendlin's avatar
    1 year ago

    You're close.  Remember that you can represent a single value as a list too.  That way you don't need to cover multiple scenarios. 

     

     

     

    let
        Source = {"2024","2025"},
        RList = if Value.Is(Source, List.Type) then Source else {Source}
    in
        Text.Combine(RList,",")

     

     

     

    I have set the select all value to 12 in the table (Pbi desktop view)

     Not recommended.  The "All"  scenario is automatically included if you use a regular filter.