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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.