hubertdeng-org / test-sentry-app

0 stars 0 forks source link

Discover: Equation doesn't work with count_if #196

Closed hubertdeng123 closed 5 months ago

hubertdeng123 commented 5 months ago

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

edit your columns to look like the case below The title doesn't need to match since you can reproduce it with any data. image

Expected Result

I expected to divide a count by a count_if and then multiply it by 100 to give a percentage.

Actual Result

image image

Product Area

Discover

Link

https://sentry-sdks.sentry.io/discover/homepage/?field=count_if%28title%2Cequals%2CSalvar+Ocorrencia%29&field=count_unique%28tags%5Buser%5D%29&field=count_if%28title%2Cequals%2CSalvar+Correcao%29&field=equation%7C%28+count_unique%28tags%5Buser%5D%29+%2F+count_if%28title%2Cequals%2CSalvar+Ocorrencia%29+%29+%2A100&id=21705&name=&project=5428561&query=&queryDataset=discover&sort=-count_if%28title%2Cequals%2CSalvar+Ocorrencia%29&statsPeriod=24h&topEvents=5&yAxis=count%28%29

DSN

No response

Version

No response

getsantry-bot[bot] commented 5 months ago

Assigning to @hubertdeng-org/support for routing ⏲️