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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.