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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
user_bi
Frequent Visitor

Display data based on cell elements from one column

Hello, 

I have a dataset that has 8 columns 

below is the sample data :

codeMATRIXCDEMATRIXMATRIX_DESCSUBGROUPSUBGROUPNAMEPARAMETERCODEPARAMETERNAMETESTMETHOD
1001675ADMAdmixtureAdmixture (Civil)ChemicalP123xyzsite
1001544ADMAdmixtureChemicalChemicalP124ghjVisual
1001675ADMAdmixtureAdmixture (Civil)ChemicalP125lkjVisual
1001AIRAirMONITORINGMonitoring P126klDigital Meter
1001AIRAirMONITORINGMonitoring P127clVisual
1001AIRAirMONITORINGMonitoring P128clsite
1002849ANFANIMAL FEEDMETALSMonitoring P129znDigital Meter
1002849ANFANIMAL FEEDMETALSMETALSP130znVisual
1002847ANFANIMAL FEEDSUGAR PROFILESUGAR PROFILEP131frVisual

 

i want the data to be displayed for each MATRIX_DESC one after the other:

 

Admixture

PARAMETERCODEPARAMETERNAMETESTMETHOD
P123xyzsite
P124ghjVisual
P125lkjVisual

 

AIR

PARAMETERCODEPARAMETERNAMETESTMETHOD
P126klDigital Meter
P127clVisual
P128clsite

 

ANIMAL FEED

PARAMETERCODEPARAMETERNAMETESTMETHOD
P129znDigital Meter
P130znVisual
P131frVisual

 

How  can i achieve this format ? i have tried grouping the data by MATRIX_DESC but still cant display it. 

2 REPLIES 2
v-weiyan1-msft
Community Support
Community Support

Hi @user_bi ,

 

Based on the sample and description you provided, Please try the following steps:

1.In the Power Query Editor,click on 'Group By' on the Transform tab.

vweiyan1msft_0-1705285900668.png

vweiyan1msft_1-1705285920734.png

2. Please Right-click on the table cell and select Add as New Query. You can rename the new query as needed.

vweiyan1msft_2-1705285956765.png

vweiyan1msft_3-1705285968519.png

Next you can remove unnecessary columns as needed.

vweiyan1msft_4-1705286008363.png

Result is as below.

vweiyan1msft_5-1705286039170.png

In addition, you can also consider using the dax as follows.

AdmixtureTable = FILTER('Table2','Table2'[MATRIX_DESC] = "Admixture")

Result is as below.

vweiyan1msft_0-1705286137819.png

 

For further details,please find attachment.

 

Best Regards,
Yulia Yan

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

Hi @v-weiyan1-msft 

 

This sample contains only 3 different Matrix_desc but the original dataset has 200+, is there a better way to execute the above for 200+ parameters as grouping them individually would be very time consuming.

 

Thank you in advance  

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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