Jump to content


Caspio Ninja
  • Content Count

  • Joined

  • Last visited

  • Days Won


Farnsbarnes last won the day on February 14

Farnsbarnes had the most liked content!

About Farnsbarnes

  • Rank
    Advanced Member

Recent Profile Visitors

1,024 profile views
  1. Thanks for the reply Nuke354. Screenshot attached. I'm looking for the table to be ordered in terms of values in the 2019 column, in this case with Germany at the top. Any code that does this can't reference the name "2019" specifically, as the range of years can change. I therefore want to reference the 'right-most column', whatever year that happens to be. Calculated fields are very limited in pivots, hence my problems with this and request for help. Tabular reports aren't a solution as they won't allow me to use years across the top. Thanks
  2. Hi I've got a pivot table with countries down the left and years across the top. The values are tonnes. I'd like the table to appear with the values sorted, so that largest values start from the top. The sorting always needs to apply to whatever year is in the right-most column. So if for example years happened to go from 2000 - 2019 (left to right), I'd like values to be sorted in the 2019 column. I'm suspecting the solution is in a 'Calc Field1' but I don't know the sql to sort the table Many thanks
  3. Many thanks guys for your feedback, sympathy and suggestions! I've indeed submitted my votes in the ideabox. Changing the zoom level occasionally helps, but often hinders with other things happening on my screen. Really don't understand why this icon feature wasn't thought through a little more.
  4. HI everyone Perhaps it's just me but when looking at Tables I find the chat link icon on the lower RH side of the screen incredibly annoying. It covers the scrollbar and, as luck would have it, always seems to block me from the specific position I need. Clicking on the link then minimising it makes no difference. Is there a way to get rid of this thing? Thanks
  5. Thanks for the responses. Unfortunately I don't think I have any alternative to allocating the regions at runtime. This is because the User has up to 50 different regions which can be selected and countries can overlap. For example, a User could select 'EU27' or 'Western Europe', or 'Europe', etc. France, for example, falls into all those regions. But if the User selects 'Europe', then that's the region I want to assign next to the record with France in the calculated field. If he selects 'EU27', then it's that region that I want to assign next to the record with France in the cal
  6. I think the above code might be able to help me. In my report I have fields for 'year', 'region', 'country', 'product' and 'tonnage'. The 'region' field is a calculated field. I wish to show aggregates of my data by region, but also for each year. Caspio prevents me grouping data by 'region' because 'region' is a calculated field. And I can't use 'Totals & Aggregation' either because Caspio only allows me to use 5 of those. My mix of 'region' and 'year' could end up being many aggregate totals. I could be wrong but I think the 5 year-old code from Xiang (above) all
  7. Can't seem to find any previous references to this. In my tabular report one of my fields is a calculated field that outputs text (don't ask... it had to be done this way)! Each record in this calculated field contains a region (ie Europe, N.America, etc) My other 'normal' fields cover a range of text and numbers What I want to do is display the whole table grouped in terms of the regions in the calculated field, rather like having a 'total and aggregation' for the calculated field. I've tried adding the calculated field in the 'total and aggregation' option, but just ge
  8. Sure, I've voted for this already in the Ideabox... although I'd have thought this feature should be an obvious and natural part of the pivot table without relying on the Ideabox to prompt it. First I've heard that Caspio is changing its infrastructure - it scares me a bit due to backwards compatibility issues, but I guess that's their job as experts to get right. Do you have any idea when this new infrastructure might come out?
  9. Does anyone have any insight as to when Caspio is going to finally add HTML blocks and calculated fields to pivot tables? It's a really significant missing feature and means my tabular tables offer features my pivot tables don't - which just makes for a poor, inconsistent GUI experience for my users. I'm guessing that doing the code is probably difficult, but I've been around long enough to know there's always a way! Come on Caspio!
  10. Many thanks for your reply @Vitalikssssss What a huge shame this is, and a strange omission by Caspio given that values can be looked up in HTML blocks, JS code, etc. I appreciate your advice with the View and I'll follow it, but it's going to be detrimental on performance as my records run to the low millions. How I wish Caspio would expand its sql capability in calculated fields. Best Farnsbarnes
  11. Does anyone know how to access the display value of a field when using a formula inside a calculated field with sql? The critical line for me is below. In my table the field 'Column_values' is referenced to another table, but displays text in place of the underlying reference data. So far I can only manage to access the references, not the text display values. WHEN CHARINDEX('[@myexample]','[@field:Column_values]') > 0 THEN ... Other than the above I've tried '[@lookupfield:Column_values]', '[@lookupvalue:Column_values]', and all kinds of other combinations,
  12. Hi SunakoChan, thanks for you response. Perhaps I wasn't clear enough. I know that I can freeze columns in the datapage wizard. But once set they are fixed. What I want to be able to do is alter the freeze column settings when viewing the report itself, in real time. I'm fine with doing the coding for a little drop down menu in jQuery or javascript to be placed next to the download button in the report. But in this dropdown I'd like to be able to turn the column-freeze on and off, or even better, to set to 1, 2,3 columns, etc, again, in real time. Does anyone know the essential
  13. Does anyone know if its possible to have a freeze columns dropdown in a report - tabular or pivot? Would be great if the User could choose whether to freeze 1, 2 or 3 columns, or turn freeze off completely. Alternatively, does anyone at least know whether it's possible to simply turn the column freeze on or off, using javascript or jQuery, when the report is displayed, via a dropdown I could add in there? I'm really looking for the code that controls the freeze function. What I've found so far is the following HTML: <th class="cbResultSetLabel cbResultSetHeaderCell cbFr
  14. Thanks for the offer HeezyMeezy. Would love to take you up on this but unfortunately I'm weighed down with client confidentiality issues - I've got to first come up with a way of unpicking the code to just show the essentials. Will let you know if I get there!
  • Create New...