Hi I'm trying to calculate growth over year. As you can see below yellow highlighted, product B has "zero divide by number" case and growth is shown as "infinity". How to get this shown as 100%. ??
My Table transformer Query is as below.
ROUND(((T1.'Count FY2020' - T1.'Count FY2019')/T1.'Count FY2019')*100, 2) AS 'Growth, %'
Please try the following:
SELECT T1.'Product Type', T1.'Count FY2019', T1.'Count FY2020',
WHEN ROUND((T1.'Count FY2020'*100/T1.'Count FY2019' - 100), 2) LIKE "Infinity"
ELSE ROUND((T1.'Count FY2020'*100/T1.'Count FY2019' - 100), 2)
AS 'Growth, %'
We’re excited to introduce external collaboration for Confluence, now available in early access. It is available to preview for Confluence Cloud Premium and Enterprise customers. (If you're not on ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events