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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
xeniaay
Regular Visitor

Measure to sum a group of values in a column

Hi, I'm new to the Power BI Community and have problem in setting up a measure to combine the values to be used as the denominator in calculating % in the table below.  I need to sum "PO-FMS" and "PO-PDS" in Docu_Type column to a new group called "PO".  Could anyone show me how to do such measure?  Thank you!

 

ClientDocu_TypeInv AmtStatus
ABCPO-FMS$100Transferred
ABCPO-PDS$200Ready
A235Contract$300InFlow
B388Other$400Transferred
02345DWO$550Cancelled
ABCPO-FMS$660Cancelled
DEFPO-PDS$770Cancelled
etgggContract$880InFlow
23425Other$990Ready
223333WO$1,000Transferred
DEFPO-FMS$1,100InFlow
ABCPO-PDS$1,200Ready
1 ACCEPTED SOLUTION
LivioLanzo
Solution Sage
Solution Sage

 

@xeniaay

 

create a dimension like the below and relate it to the main table and then drop NewType to the rows of the matrix

 

Inv AmtNew Type
PO-FMSPO
PO-PDSPO
ContractContract
OtherOther
WOWO

 


 


Did I answer your question correctly? Mark my answer as a solution!


Proud to be a Datanaut!  

View solution in original post

2 REPLIES 2
LivioLanzo
Solution Sage
Solution Sage

 

@xeniaay

 

create a dimension like the below and relate it to the main table and then drop NewType to the rows of the matrix

 

Inv AmtNew Type
PO-FMSPO
PO-PDSPO
ContractContract
OtherOther
WOWO

 


 


Did I answer your question correctly? Mark my answer as a solution!


Proud to be a Datanaut!  

Thank you so much @LivioLanzo  I didn't think of creating a new table to relate the new value type to the old one and then using it in the visualization.  Now problem solved.  Thanks again!

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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