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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
GBKYE2
Frequent Visitor

Showing a value and comment in matrix

Hi all,

 

Does anyone know if it's possible to show a value and a comment in a matrix for a specific item?

 

Let's say I have this (abstracted) data:

OrderValue_MetricRisk_MetricStrategy_MetricValue_CommentRisk_CommentStrategy_Comment
001743High ValueLow RiskNot aligned
002418Low-Med ValueMinimal RiskFits Strategy

 

I would like to be able to select a order and show the information like this:

 

Order 001:

 MetricComment
Value7High Value
Risk4Low Risk
Strategy3Not Aligned

 

Order 002:

 MetricComment
Value4Low-Med Value
Risk1Minimal Risk
Strategy8Fits Strategy

 

I feel like what I'm trying to do is make a calculated table but I'm a bit stuck on how to approach this. Does anyone have any suggestions? Thanks.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @GBKYE2 ,

 

Thank you @ryan_mayu  for your replies, allow me to provide another insight:

 

1. create a calculation table that combines metrics and comments into one table.

CombinedMetrics =
UNION(
SELECTCOLUMNS('Table', "Order", 'Table'[Order], "_","Value","Metric", 'Table'[Value_Metric], "Comment", [Value_Comment]),
SELECTCOLUMNS('Table', "Order", 'Table'[Order], "_","Risk","Metric", 'Table'[Risk_Metric], "Comment", [Risk_Comment]),
SELECTCOLUMNS('Table', "Order", 'Table'[Order], "_","Strategy","Metric", 'Table'[Strategy_Metric], "Comment", [Strategy_Comment])
)


2. create the slicer visual object and put the order field in.

 

3. create the matrix and place the fields as shown below.

vkaiyuemsft_0-1715322175991.png

If your Current Period does not refer to this, please clarify in a follow-up reply.

 

Best Regards,

Clara Gong

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
Anonymous
Not applicable

Hi @GBKYE2 ,

 

Thank you @ryan_mayu  for your replies, allow me to provide another insight:

 

1. create a calculation table that combines metrics and comments into one table.

CombinedMetrics =
UNION(
SELECTCOLUMNS('Table', "Order", 'Table'[Order], "_","Value","Metric", 'Table'[Value_Metric], "Comment", [Value_Comment]),
SELECTCOLUMNS('Table', "Order", 'Table'[Order], "_","Risk","Metric", 'Table'[Risk_Metric], "Comment", [Risk_Comment]),
SELECTCOLUMNS('Table', "Order", 'Table'[Order], "_","Strategy","Metric", 'Table'[Strategy_Metric], "Comment", [Strategy_Comment])
)


2. create the slicer visual object and put the order field in.

 

3. create the matrix and place the fields as shown below.

vkaiyuemsft_0-1715322175991.png

If your Current Period does not refer to this, please clarify in a follow-up reply.

 

Best Regards,

Clara Gong

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

 

ryan_mayu
Super User
Super User

here is a workaround for you in PQ. pls see the attachment below





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.