I have tried to use the summarize function to get the subtotals but it does not add up. Can any help in fixing the formula.
https://drive.google.com/drive/folders/11u-\_wQPggGqvrQdCWD3GHfCBSVAFpqIj?usp=sharing
I tried using the summarize function but there is something i am doing wrong here.
Related
I am trying to track stock prices with Googlefinance function in Sheets. I can pull the price for a date with =INDEX(GOOGLEFINANCE((B2),"price",date(2019,12,13)),2,2) which is fine but I want to input the date with Column A which has date data. So, (A1) instead of (2019,12,13)but for some reason I get errors.
This seems simple but I cannot get it to pull the date from my column. Ive tried removing DATE and just using the cell but this also doesnt work.
the formula that worked for me is
=index(GOOGLEFINANCE("YOUR_STOCK", "price",A1),2,2)
If, like you said, you already tried that and it did not work, you should link us a test sheet with your formula.
make sure A1 is really a date. you can check this with
=ISDATE(A1)
the output should be TRUE. your formula is correct:
=INDEX(GOOGLEFINANCE(B2; "price"; A1); 2; 2)
I would like to add the following formula in quicksight :
X/Min(y/z)
However the formula return an error and i could not find any to return a minimum of two values.
I did try ifelse function, but returns wrong data.
Please help
Regards
I am trying to setup a QUERY with dynamic ordering. I've tried to link the ORDER BY function to the output of the dropdown menu but that doesnt seem to work. I have recreated the problem with a simple example: https://docs.google.com/spreadsheets/d/1m3Lhm5lp2DW7XF8hRbDAiOAAsOyCXrie-Nc-0bWG6hA/edit?usp=sharing
I've created a table (3x4) with three variable and would like to dynamically sort the table by each variable through QUERY both ascending and descending.
Would also be interested to learn if it's possible to dynamically setup the direction (ACS or DESC).
Any suggestions would be much appreciated.
Kind regards,
Webko
try:
=QUERY({A2:C6}, "order by Col"&MATCH(F1, A2:C2, 0)&" "&G1)
where G1 dropdown is asc,desc
Link to table
Hi All,
I am trying mimic the behaviour of Report using Apex and Lightning component. I am able to get subtotal and grandtotal result using GROUP BY ROLLUP(). However I cannot query more that 3 field which are not aggregated. I have 8-9 other fields to show along with subtotal and grandtotal of 4 columns.
I have created a map of records which I have to show on page and there is an aggregated query. Could anybody suggest how to get all these in a wrapper class?
I cannot use Report Builder for this because I have to divide the subtotal with a fix value and show below the subtotal.
You should be able to do what you need with report-level formula.
Create a summary or matrix report (I've picked "Case history"), you should see a new option in the sidebar menu (well, might look bit different in Lightning but you get the idea hopefully)
Drop that formula on the report and it should work pretty neat
Leave a comment under my post if you think this doesn't work for you and you still need code. (would be good to edit your post and include a code sample so we get better idea though)
I recently implemented a Dynamic Row Filter (http://msdn.microsoft.com/en-us/library/hh231092.aspx) on a Tabular Model.
For the purposes of this question, let's assume it's a simple =[Country]="US" DAX filter. This works just fine.
I would like to add a second filter on the same table to further restrict results by state. The obvious solution that comes to mind is something like this: =[Country]="US" && [State]="CA" but this does not work.
Any ideas or workarounds?
I know this question is old but it came up for me when I searched for the same thing but ended up figuring out on my own, so I'll leave my findings for anyone else having the same problem.
To solve your particular problem you need to put the filter like this:
=AND([Country]="US",[State]="CA")
It's as simple as that, the only proboem is that if you have more than 2 filters you need to put them like this:
=AND(filter1,AND(filter2,AND(filter3,filter4)))
Because on DAX you can't use a single AND like in excel.