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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Anonymous
Not applicable

POwer BI DAX Function for "CONVERT"

How to Convert kg to ton through Power BI DAX function.  What is the alternate function for "CONVERT" in Power BI.

For Example, I am having tables Quantityuomid, Quantity

Quantityuomid
3
4
5

Quantity
2
10
100 respectively.
In my Database I'm having like this. Now, I want to convert the "Quantity" column in Power BI through DAX function like below:

Quantity(ton)
0.00220462
10
11.0231

1 ACCEPTED SOLUTION
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

If you know the convert rate between KG and TON, you could directly add a new column:

Quantity(ton)='Table'[Quantity] * rate

 

Reference:Function convert in Power BI

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

If you know the convert rate between KG and TON, you could directly add a new column:

Quantity(ton)='Table'[Quantity] * rate

 

Reference:Function convert in Power BI

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

How to Convert kg to ton through Power BI DAX function.  What is the alternate function for "CONVERT" in Power BI.

For Example, I am having 2 Columns Quantityuomid, Quantity

Quantityuomid
3
4
5

Quantity
2
10
100 respectively.
In my Database I'm having like this. Now, I want to convert the "Quantity" column in Power BI through DAX function like below:

Quantity(ton)
0.00220462
10
11.0231

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors