Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello Power BI group,
This is my first post and question. I am looking to create a new measure which gives me the summary of categorized rows but will be as a percentage of a different column total. I have given an example shown below.
First 3 columns are already listed (date,code,cost). I have to create a new column/measure where I can express the cost of code in % of price total which is from a different column. Also summarize the code and create column giving the % of price total. Please help!
Solved! Go to Solution.
Hi @jammy123,
If they are from one table, it could be like below.
Measure =
DIVIDE (
SUM ( Table1[cost] ),
CALCULATE ( SUM ( Table1[Price] ), ALL ( Table1 ) )
)
If they are from two tables, it could be different.
Measure = DIVIDE ( SUM ( Table1[cost] ), SUM ( PriceTable[Price] ) )
Best Regards,
Dale
Hi @jammy123,
If they are from one table, it could be like below.
Measure =
DIVIDE (
SUM ( Table1[cost] ),
CALCULATE ( SUM ( Table1[Price] ), ALL ( Table1 ) )
)
If they are from two tables, it could be different.
Measure = DIVIDE ( SUM ( Table1[cost] ), SUM ( PriceTable[Price] ) )
Best Regards,
Dale
Measure =
DIVIDE (
SUM ( Table1[cost] ),
CALCULATE ( SUM ( Table1[Price] ), ALL ( Table1[code] ) )
)
This worked for me. Thanks for your help @v-jiascu-msft
Also, looking at creating a responsive graph based on the date input or period where the code % of total price changes
can someone help please?
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!