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
PBI5851
Helper V
Helper V

Adding a single column at end of Matrix

Hello,

 On a matrix table, i am trying to add a calculation at the end, but that measure keeps getting added after every single column. Please advise on how to add that calculated value only once. 

DateShippedCancelledCompleted
1/1/205030100
1/5//20102040
1/7/20506020
1/9/2010105

 

I wish to get the below. 

DateShippedCancelledCompletedComplete %
1/1/20503010055%
1/5/2010204057%
1/7/2050602015%
1/9/201010520%

 

The Shipped, Cancelled and complete are statuses from a single column. Now when i try to add a new measure (completed%), it shows up after every single column.  Any advise please ?

4 REPLIES 4
PBI5851
Helper V
Helper V

sample data... 

DateAcctIDStatus
1/5/2020A1001Shipped
1/5/2020A1002Shipped
1/5/2020A1003Shipped
1/5/2020A1004Completed
1/5/2020A1005Shipped
1/5/2020A1006Shipped
1/6/2020A1007Cancelled
1/6/2020A1008Completed
1/6/2020A1009Shipped
1/6/2020A1010Shipped
1/6/2020A1011Shipped
1/6/2020A1012Cancelled
1/6/2020A1013Shipped
1/6/2020A1014Cancelled
1/6/2020A1015Shipped
1/6/2020A1016Cancelled
1/10/2020A1017Shipped
1/10/2020A1018Completed
1/10/2020A1019Cancelled
1/10/2020A1020Completed
1/10/2020A1021Cancelled
1/10/2020A1022Cancelled
1/10/2020A1023Cancelled

 

The measure i have for the matrix is StatusCount = calculate(counta(Accounttable), userelationship (datetable(date), Accounttable(date))). 

the only way to prevent that from happening is to create a measure for each status rather than slice by the status.

 

see attached.





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




amitchandak
Super User
Super User

@PBI5851 ,

Create a measure like

divide(sum(Table[Completed]), sumx(Table,Table[Shipped]+Table[Cancelled]+Table[Completed]))

 

or column like

divide((Table[Completed]), (Table[Shipped]+Table[Cancelled]+Table[Completed]))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
vanessafvg
Super User
Super User

how are you creating your measure, can you provide some dummy data?




If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




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.

Top Solution Authors
Top Kudoed Authors