web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Creating a Risk Matrix...
Power Apps
Answered

Creating a Risk Matrix system. How do I sort and group risk in Gallery List?

(0) ShareShare
ReportReport
Posted on by 4

Hello from Malaysia,

 

I am trying to create a risk matrix system using SharePoint as the database. 

 

The testing app as follows:- 

iceman31_0-1601482143097.png

iceman31_1-1601482184085.png

 

Currently the gallery list is sorted by coloum and vertically.  How can i make it horizontally and group each of the risk by likelihood x impact as picture below ?

 

iceman31_3-1601482595888.png

Thank you in advance. 

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @iceman31 :

    Could you tell me:

    • Do you want to group all records based on the values of Likelihood and Impact and display these records in the form of a table so that the user can select one of the required records?

    The solution I adopted is to use a nested gallery.I'v made a test for your reference:

    1\My data source:

     

    ClearCollect(YourDataSource,{Company:"ITSD",Likeihood:3,Impact:3},{Company:"DDD",Likeihood:3,Impact:3},{Company:"CCC",Likeihood:4,Impact:3})

     

    2\Add a Blank horizontal gallery(Gallery14) and set it's items property to:

     

    [1,2,3,4,5]

     

    3\Add a Label(Label16) control into Gallery14 and set it's items property to:

     

    ThisItem.Value

     

    4\Add a Blank vertical Gallery (Gallery15) into Gallery14 and set it's items property to

     

    [1,2,3,4,5]

     

    5\Add a List Box control(ListBox1) into Gallery 15 and set it's Items proeprty to:

     

    Filter(YourDataSource,Likeihood=ThisItem.Value && Impact=Value(Label16.Text) )

     

    OnSelect

     

    Set(MYVAR,ListBox1.Selected) /*MyVar is my custom variable*/

     

    SelectMultiple

     

    false

     

    When you make a selection in the listbox, the record you selected will be saved in the variable "MYVAR". On your side, you only need to set the Items property of the displayform to ‘MYVAR’.

    48.gif

    Best Regards,

    Bof

     

  • iceman31 Profile Picture
    4 on at

    Hi v-bofeng-msft

     

    Will try it out. 


    Thank you so much

     

    Best regards,

  • Merley72 Profile Picture
    60 on at

    Hi Iceman31

     

    Although you posted this some time ago, I was wondering if you managed to get all things working as you want them for your Risk Assessment /Matrix system.

     

    We have created just such a system for use in Power Apps which integrates with Microsoft 365 (SharePoint behind the scenes), and have installed this within a several companies here in the UK.  We are in the process of turning it into an installable solution which we will eventually sell through the Microsoft channels.  It uses SharePoint as a back end as this allows for easily to configure Views, displays of records and data and for Management and end-user interaction.  I’m preparing a couple of 5 minute videos which explain about it much more detail and wondered if these would be of interest when they are complete? 

     

    Please drop me a DM or reply if this is of interest.

     

    Regards and thanks,  Alan C.

  • GemM Profile Picture
    2 on at

    Hi Merley72

     

    I am working in the Risk Matrix space for a large-ish agency and would be interested in contacting you regarding the abovementioned installable solution. Are you please able to reach out and provide me with some information that I might be able to provide to my management about this possibility.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,009

#2
11manish Profile Picture

11manish 672

#3
Valantis Profile Picture

Valantis 628

Last 30 days Overall leaderboard