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! Learn more

Reply
JBI
Frequent Visitor

Create new row in a matrix

Hi Guys,

 

I have data from a table like this:

 

Data.PNG

 

With a couple of measures I create results like this:

 

Sum in Table.PNG

 

I want to sum all three Proposals (Proposals_1Cost + Proposals_2Cost + Proposals_3Cost) as one blanket "Proposals" and have it display as one of the FieldNames. 

 

A measure of summing the three doesn't work, because it gets placed in a new column. I need the result almost to be one of the "FieldNames".

 

Thanks in advance!

1 REPLY 1
dax
Community Support
Community Support

Hi JBI,

 

You could create a new table like below

85.png

Then create a measure like below

Measure 4 = SUM(Table2[quantity])
Measure 3 = if(min(Table2[name])=MIN(Table3[Column1]),SUM(Table2[quantity]),sumx(FILTER(ALLSELECTED(Table3),Table3[Column1]="a" ||Table3[Column1]="a2"||Table3[Column1]="a3"),[Measure 4]))

Measure 5 = if(HASONEVALUE(Table3[Column1]),[Measure 3],sumx(ALLSELECTED(Table3[Column1]),[Measure 3]))

86.png

Best Regards,

Zoe Zhi

 

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

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.