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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
asdf1608
Helper V
Helper V

How to do unit conversion in power BI

I need to display values based on the particular unit conversion

The formula is value/Unit conversion. 

I have created the parameter for unit conversion but not sure of how to include the both in same column.

How do I get this in power BI.

I have attached the sample power BI file.

Help with this is appreciated.

Thanks in advance

 

1 ACCEPTED SOLUTION

3 REPLIES 3
johnt75
Super User
Super User

Try

Converted value = SUMX(
	'Sheet1',
	DIVIDE(
		'Sheet1'[Value],
		SELECTEDVALUE( 'Unit Conversion'[Column2], 1 )
	)
)

Can you please apply this in the power BI file so that it will be easy for me to check.

Please

Sample.pbix

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.