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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Benoo876
Advocate I
Advocate I

Matrix formatting

I have tackled some Matrix columns settings and cannot find the solution for following two questions:

1. Is there a way to format my matrix table to add fields for Analysis_no and Method like in Dash example?
2. Is there a way to show average  of 3 replicates for each Trial_full and also RSD (does not have to resabmle Dash example), could be average and RSD in separate row or some other solution?

PBI:

Benoo876_1-1721674937426.png

 


Dash example:

Benoo876_2-1721675042301.png

 

 

Example dataset:
https://we.tl/t-v5ykEwQAPx

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi, @Benoo876 

 

You can try the following methods.

Analysis_no Measure = CALCULATE(MAX(DATA[Analysis_no]),ALLEXCEPT(DATA,DATA[Trial],DATA[Paralel_no]))
Method Measure = CALCULATE(MAX(DATA[Method]),ALLEXCEPT(DATA,DATA[Trial],DATA[Paralel_no]))
Rseult = IF(HASONEVALUE(DATA[Time]),AVERAGEX(DATA,[Value]),[Analysis_no Measure]&" "&[Method Measure])

vzhangtinmsft_1-1721706310052.png
vzhangtinmsft_0-1721706294298.png

Is this the result you expected? Please ask any questions you may have.

 

Best Regards,

Community Support Team _Charlotte

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, @Benoo876 

 

You can try the following methods.

Analysis_no Measure = CALCULATE(MAX(DATA[Analysis_no]),ALLEXCEPT(DATA,DATA[Trial],DATA[Paralel_no]))
Method Measure = CALCULATE(MAX(DATA[Method]),ALLEXCEPT(DATA,DATA[Trial],DATA[Paralel_no]))
Rseult = IF(HASONEVALUE(DATA[Time]),AVERAGEX(DATA,[Value]),[Analysis_no Measure]&" "&[Method Measure])

vzhangtinmsft_1-1721706310052.png
vzhangtinmsft_0-1721706294298.png

Is this the result you expected? Please ask any questions you may have.

 

Best Regards,

Community Support Team _Charlotte

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

Benoo876
Advocate I
Advocate I

I figured out STDEV (prob can do RSD with custom measure). What is the best way to get rid off 0? I can set conditional formatting to white and white background but this also negatively affects the table design.

Benoo876_0-1721676145479.png

Benoo876_1-1721676162197.png

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI 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.

Top Solution Authors
Top Kudoed Authors