Hi @SatyaPaleti,
When you say it’s not working in any visualization..are you receiving an error that’s not allowing you to complete the calculated field or is it producing the wrong number(s)?
It looks like your calculated field is just dividing the same number by the same number since you’re leaving your aggregation level empty on the denominator. So wouldn’t you want to run the count of sales id, aggregated by company, divided by the overall sales id count?
So maybe use a countOver in the numerator as well and aggregate by company.
Then in terms of finding a percent, I’d be more inclined to remove the ‘*100’ and instead change the ‘show as’ option to percent.
Hi @SatyaPaleti,
You’re receiving that error because you’re trying to utilize a calc. field that includes a field not being included in your visual (I would assume ‘Sales ID’ for your case).
In terms of a calculated field for what you’re trying to accomplish, you could try something like: