cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
sv12 Regular Visitor
Regular Visitor

Division in Calculated Column

Hi,

 

I am trying to write a simple calculation, with invloles row level division: (Calculated Column)

% Losses col =  ('US Equity Taxes'[STL] + 'US Equity Taxes'[LTL]) / ('US Equity Taxes'[MkValue])

The formula works well if its a measure.

 

But when I make it a calculated column, the values are thrown off! I need this to be a calculated column, so that I can have a slicer on this. 

 

Any thoughts on how do I fix this?

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Division in Calculated Column

@sv12 all are these columns?

 

- STL

- LTL

- MkValue

 

if yes, make sure when you are dropping this new column in a visual, no aggregation is selected.






Did I answer your question? Mark my post as a solution.

Proud to be a Datanaut! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.





View solution in original post

1 REPLY 1
Super User
Super User

Re: Division in Calculated Column

@sv12 all are these columns?

 

- STL

- LTL

- MkValue

 

if yes, make sure when you are dropping this new column in a visual, no aggregation is selected.






Did I answer your question? Mark my post as a solution.

Proud to be a Datanaut! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.





View solution in original post

Helpful resources

Announcements
Ask Amanda Anything Q&A

Ask Amanda Anything Q&A

Learn the answers to some of the questions asked during the Amanda Triple A event.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 317 members 3,364 guests
Please welcome our newest community members: