Fields Parameter Tip 2 - Fix Category Sort Order

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024
  • 🔽More Information below🔽
    Another tip when working with the new Field Parameter
    - How to set the sort order of a chosen category
    Dummy Data sets can be found here
    accessanalytic...
    Solution file here
    aasolutions.sh...
    Previous video on this topic
    • Fields Parameter - how...
    Connect with me
    wyn.bio.link/

Комментарии • 31

  • @rob123456hawke
    @rob123456hawke Год назад +2

    thanks for this great tip! It works, though it makes absolutely no sense to me why the system behaves that way. I have a numeric Year column where I now need to add a second Year column and specify that one as a sort column for the first one just as a workaround. I wish Microsoft would simply fix this behavior and keep the sorting by Axis instead of by Measure even when the field changes.

  • @PeterKontogeorgis
    @PeterKontogeorgis Год назад +1

    Nice one - this was driving me crazy about 3 months ago. Can't believe MS are yet to fix it.

  • @chaitubhogireddy
    @chaitubhogireddy Год назад +2

    This really helps. but i want to sort matrix visual based on a sort measure. could you please help on how to do that

    • @AccessAnalytic
      @AccessAnalytic  Год назад

      Not sure what you mean by sort Measure sorry.

  • @Bhavik_Khatri
    @Bhavik_Khatri 2 года назад +2

    Nice little tip

  • @VictorHugo-bd3bf
    @VictorHugo-bd3bf Год назад +1

    Thank you so much; that solved my issue.

  • @oldrose8377
    @oldrose8377 Год назад +3

    Thank you so much for the useful tip. If you would not mind, I have a little question that if we fix the category and use the field parameter to change measures instead, then how should we fix the sorting to always be ascending for each measure? As I tried, switching measures will have sorting order back to descending every time. Thanks in advanced for the answer : )

    • @AccessAnalytic
      @AccessAnalytic  Год назад +2

      Good question, I don't know the answer to that. It doesn't appear to be possible

    • @bazej1387
      @bazej1387 11 месяцев назад

      In this case instead of field parameter for measures try to use SWITCH function with SELECTEDVALUE as a condition.

    • @katieo6802
      @katieo6802 8 месяцев назад +1

      It appears possible by setting a bookmark and using bookmark navigator buttons instead of the default parameter slicer! ruclips.net/video/Nt3QgZrJXfY/видео.html

  • @user-st7xe8zw4d
    @user-st7xe8zw4d 5 месяцев назад

    Hello, it works when I use text field parameters. In my case I use date, start of week, start of month, start of year als field parameters (all date types) but those sort order columns are the same as the column itself so then it doesn't work. I need it to always sort the table descending when the user select month, week, year, day...

    • @AccessAnalytic
      @AccessAnalytic  5 месяцев назад

      I think you should still be able to use a separate numerical sort order number column ( add via Power Query ) for each field - even if a date.

  • @sararodriguezperez1111
    @sararodriguezperez1111 Год назад

    Thank you!!

  • @PaulBailey3
    @PaulBailey3 4 месяца назад

    what about a field parameter that has a date column and another that is a count? How could I achieve this?

    • @AccessAnalytic
      @AccessAnalytic  4 месяца назад

      Not sure what you mean by a column with a count sorry

  • @Simon-vc1wk
    @Simon-vc1wk 2 года назад

    Is there a way to apply conditional formatting to fields parameters. Not found a good way yet

    • @AccessAnalytic
      @AccessAnalytic  2 года назад

      Check out minute 16:30 ruclips.net/video/ksmNfa_K8GQ/видео.html

    • @reet332
      @reet332 Год назад

      cell elements in format option of table

  • @arungarlapati3376
    @arungarlapati3376 2 года назад

    can I change localization on field parameters , column name & fields name

    • @AccessAnalytic
      @AccessAnalytic  2 года назад

      I’m not sure Arun, does this help blog.gbrueckl.at/2022/06/using-power-bi-field-parameters-to-translate-data-and-values/ ?

  • @fauzanmauludy7973
    @fauzanmauludy7973 4 месяца назад

    How if we want to sort Hours by another column?

  • @Ekercim1
    @Ekercim1 Год назад

    I have y/q/m and I tried to sort from year but it doesn't do anything

    • @AccessAnalytic
      @AccessAnalytic  Год назад

      If year is text you will need a sort it by a numerical version of the column

  • @anetakn6601
    @anetakn6601 Год назад

    What if my field parameter is created of measures?

    • @AccessAnalytic
      @AccessAnalytic  Год назад

      Hi, You can edit the DAX formula for the Parameter that is generated. The Sort order is the number at the end of each line of the DAX code