Best Of
Re: Weighted Average Calculation
For this you'll need to get the Value of the rate rather than the %, and then calculate the new percentage as the ratio between the two.
At the row level you'll need to have a value that is the Worth of the Loan times the Mortgage Rate of it. In your example for Loan A = 10K and for Loan B = 5.5K. Instead of averaging the % (which is almost never a good idea) you'll work with these values. (10 + 5.5)/(200 + 100) = 5.167% which is what you want. In a single beast mode this can be written as:
SUM(`Worth` * `Mortgage Rate`)/SUM(`Worth`)
Which will work on the aggregation level used for your data.
Re: Has anyone used Illustrator to create an SVG for custom filter charts successfully?
@Ashleigh Thank you, taking a look at that video! If I ever get this to work, I will post the results on here for everyone. :)
Re: How to add gross profit row into profit and loss pivot table
We created something similar for our P&L where we needed to show net income or ebitda… we did this by creating a beastmode field to calc the two based on subtracting or adding revenues vs expenses and created a filter to toggle the grand total between the two.
Re: How to add gross profit row into profit and loss pivot table
For each row in a Pivot table, a value needs to exist, so without joining a new Gross Profit Account, having this to display would be hard to say the least, and even then you'd need to work with the fact that the measure calculation will need to be worked differently on that one than on the others.
You might be able to achieve a similar outcome, using a Megatable and transposing it (rows being the months), that way the columns (Beast Modes with case statements on the Account) to represent the Trading Income, Cost of Sales, etc will become rows, but if you want the breakdown (Sales, Purchases, Interest Income, etc) to also be displayed without drilling down you'd need to create a Beast Mode for each and whenever a new one shows or one does not have entries, they won't be automatically added/removed.
Would love to see if anyone has other ideas that could come in handy for this.
Re: way to split column name into first and last
Here you go:
First Name:
LEFT(`name`, (INSTR(`name`, ' ')-1))
Last Name:
RIGHT(`name`, LENGTH(`name`)-INSTR(`name`, ' '))
Hope that helps,
Valiant
**Please mark "Accept as Solution" if this post solves your problem
**Say "Thanks" by clicking the "heart" in the post that helped you.
Re: How do I Compare Column A vs Column B in the same Value?
@bstephan With this setup, changing the global date filter to Month to Date would exclude all of last year's data. The best way to make the YoY variances to dynamically update with the global date filters is to restructure your data in a dataflow to add a separate dataset column for prior year sessions. Then you could replace the prior year calculations with the prior year dataset column in your cards.




