Skip to main content
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

New Member

Max value from other table



I've been trying to solve the following problem for a while and I hope you can help me:

I have a table1 with system names in it.
I have a table2 which is a ticket system.


In Table 2, the system name is there more often, depending on how many tickets there are.
The tickets have different types and different priorities based on the type.

For example:
System "Power" has 3 tickets:
Ticket1 Alert Priority 1
Ticket2 Warning Priority 2
Ticket3 Warning Priority 2


Now I want a column to be added to table 1.
The column should contain the highest priority of the tickets that the system has.


In the above example, we have a priority 1 ticket for system "Power".
So, in table 1, system "Power" should have priority 1.


If the ticket is then closed, Ticket 1 Alert will disappear.
So the new priority will be priority 2 and so on.


I hope it is understandable how I phrased it.



Best regards

Super User
Super User

If you have a one-to-many relationship from System Names to Tickets then you could create a column like

Highest Priority = MAXX( RELATEDTABLE( 'Tickets' ), 'Tickets'[Priority])

Helpful resources

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.