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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
lucilach
New Member

Divide each value of a column by a number

I'm new to PowerBI so this might be pretty basic.

I want to create a new column where each row contains the result of diving the corresponding value in an existing column by 100. 
I want to use QUOTIENT since I need only the integer part. But QUOTIENT only works with single values (aggregations). How would one use QUOTIENT (or any other math function) on each value of a column?

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

Refer

https://docs.microsoft.com/en-us/dax/quotient-function-dax

Create a new column not measure. I created one and able to get values for each row

Column = QUOTIENT(Sales[Sales Amount],100)

 

Screenshot 2019-12-07 05.56.26.png

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks.

My Recent Blog - https://community.powerbi.com/t5/Community-Blog/Comparing-Data-Across-Date-Ranges/ba-p/823601

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

Refer

https://docs.microsoft.com/en-us/dax/quotient-function-dax

Create a new column not measure. I created one and able to get values for each row

Column = QUOTIENT(Sales[Sales Amount],100)

 

Screenshot 2019-12-07 05.56.26.png

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks.

My Recent Blog - https://community.powerbi.com/t5/Community-Blog/Comparing-Data-Across-Date-Ranges/ba-p/823601

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.