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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Parul_verma
Frequent Visitor

How to create measure for Volume (in 1 000 KGS) of 1 SKU/Volume (in 1 000 KGS) of all SKU?

Hi, I know it must be simpler but I am literally stuck in this.I have the data like this

MonthVolume in 1000Kgs
jan100
feb200
mar300

I want the result to be shown as,100/600 for jan,200/600 for feb,300/600 for mar.Please get me the solution for this

1 ACCEPTED SOLUTION

All selected (item) worked as comparison to this, this is showing me the exact values in col B

View solution in original post

7 REPLIES 7
v-easonf-msft
Community Support
Community Support

Hi, @Parul_verma 

If you just want to display as 100/600 in January, 200/600 in February, and 300/600 in March, then what you might want to create is a Text measure like the following:

Result = 
VAR a =
    SUM ( 'Table'[Volume in 1000Kgs] )
VAR b =
    CALCULATE ( SUM ( 'Table'[Volume in 1000Kgs] ), ALL ( 'Table' ) )
RETURN
    a & "/" & b

If you want the result to be a calculated value, you can also consider checking 'show value as percent of grand total' to display the result.

veasonfmsft_0-1666249371468.png

Best Regards,
Community Support Team _ Eason

All selected (item) worked as comparison to this, this is showing me the exact values in col B

tamerj1
Community Champion
Community Champion

Hi @Parul_verma 

please try

=
DIVIDE ( [Volume], CALCULATE ( [Volumne], ALL ( 'Table'[Month] ) ) )

not working I am unable to take volume column without any function under calculate

Hi @Parul_verma 
I thought it was a measure. Please try

=
DIVIDE ( SUM ( [Volume] ), CALCULATE ( SUM ( [Volumne] ), ALL ( 'Table'[Month] ) ) )
lukiz84
Memorable Member
Memorable Member

Hi,

 

"shown" where? In a measure or in a calculated column?

In a measure 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.