Forum Discussion

SebastianGP's avatar
SebastianGP
Regular Visitor
3 years ago
Solved

Matrix sliced by multiple columns

Hi guys,

 

I've been having a problem in creating a report containing a matrix with min/max values.

 

I would like the matrix to display the min/max run times of a particular section based on the choice made in a slicer (selecting between section).

 

The data looks aproximately like this:

Case IDTypeRun time section 1Run time section 2Run time section 3Run time section 4
Case 1Assisted49554796
Case 2Self-service31811847
Case 3Self-service92837485
Case 4Self-service26175568
Case 5Assisted4361496
Case 6Assisted66307785
Case 7Self-service420924
Case 8Assisted51957377
Case 9Self-service389123100
Case 10Self-service40317883

 

So based on this data I need the matrix to spit out the top 3 values of a section run time based on a slicer. How would I go about doing that?

 

Many thanks in advance!

 

  • I found the solution:

     

    Under File>Options>Preview features: check the Field parameters box and restart Power BI Desktop.

     

    Add a new parameter based on fields

    And create a Dynamic Filter containing the different fields you would like to be able to filter between.

     

    Lastly you can create a slicer with the fields you selected in your dynamic filter. This slicer will add/remove the fields you select.

3 Replies

  • Please show the expected outcome based on the sample data you provided, and the slicer selection.

  • SebastianGP's avatar
    SebastianGP
    Regular Visitor

    The expected outcome would be:

    Case IDTypeRun time (based on slicer)
    Case 1Assisted49
    Case 2Self-service31
    Case 3Self-service92
    Case 4Self-service26
    Case 5Assisted43
    Case 6Assisted66
    Case 7Self-service42
    Case 8Assisted51
    Case 9Self-service38
    Case 10Self-service40

    Whereby the slicer makes a selection between the different run-time selections.

  • SebastianGP's avatar
    SebastianGP
    Regular Visitor

    I found the solution:

     

    Under File>Options>Preview features: check the Field parameters box and restart Power BI Desktop.

     

    Add a new parameter based on fields

    And create a Dynamic Filter containing the different fields you would like to be able to filter between.

     

    Lastly you can create a slicer with the fields you selected in your dynamic filter. This slicer will add/remove the fields you select.