Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have 2 simple columns like below. Issue is that AVG is a text and I do not have access to change it to num in desktop.
| Quantity | Avg |
| 130 | 20 |
| 154 | 3 |
| 190 | 4 |
| 603 | 16 |
| 450 | 0 |
| 603 | 0 |
| 450 | 27 |
I want to divide quantity / avg but bc avg is a text I cannot get the division working.
Is there any way to divide this in a measure?
Solved! Go to Solution.
@juanrivera63 , Try a measure like
Divide(sum(Table[quantity]), Sumx(Table, [Avg]*1) )
Ideally in the column/measure tool, you should be able to change the data type
Hi @amitchandak , I am trying this in my regular query and it is giving me a cross join.
@juanrivera63 , Try a measure like
Divide(sum(Table[quantity]), Sumx(Table, [Avg]*1) )
Ideally in the column/measure tool, you should be able to change the data type
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!