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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
BIA1996
New Member

Get values in the rows of a table

Hi Power Bi Users,

I have the following issue.

 

I have a risk table which contains a risk ID colum, and an action table which contains an action ID column. 

For one risk, there is one or more action, and there's a bridge table containing all the action names each one with their own risk. This table is linked to the other two tables with action ID and risk ID columns.

 

I have to create a DAX measue that, if I select a risk ID on a slicer menu, lists in the rows of a table each action name.

 

Which are the steps? How can I do it?

 

Thank you so much 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @BIA1996 ,

 

If you want the slicer to display the [action name] of the selected value in each row when the slicer selects a value of [risk ID], you can place the [risk ID] and [action names] directly in the table viusal because the two tables are connected by a bridged table, and when the filtering direction is correct, you can display the correct value directly.

vyangliumsft_0-1732586186065.png

vyangliumsft_1-1732586186066.png

If you want to display the spliced [action names] grouped by [disk ID], you can use the following measure:

Measure =
CONCATENATEX(
    FILTER(ALL('bridge table'),[risk ID]=MAX('bridge table'[risk ID])),[action names],"-")

vyangliumsft_2-1732586203410.png

If the above results do not meet your expected results, you can express the expected results in the form of a picture, we can better help you!

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

2 REPLIES 2
BIA1996
New Member

I have tried with CONCATENATEX but it gives me all the values on a single row, separated by a comma. This is not the correct solution

Anonymous
Not applicable

Hi  @BIA1996 ,

 

If you want the slicer to display the [action name] of the selected value in each row when the slicer selects a value of [risk ID], you can place the [risk ID] and [action names] directly in the table viusal because the two tables are connected by a bridged table, and when the filtering direction is correct, you can display the correct value directly.

vyangliumsft_0-1732586186065.png

vyangliumsft_1-1732586186066.png

If you want to display the spliced [action names] grouped by [disk ID], you can use the following measure:

Measure =
CONCATENATEX(
    FILTER(ALL('bridge table'),[risk ID]=MAX('bridge table'[risk ID])),[action names],"-")

vyangliumsft_2-1732586203410.png

If the above results do not meet your expected results, you can express the expected results in the form of a picture, we can better help you!

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Users online (25)