Help talk:Result formats

Jump to: navigation, search
Please note

Talk pages on this wiki should primarily be used to address possible mistakes as well as missing and superseded information in the documentation.
In case you are seeking support concerning individual questions, please have a look at this page.
The SMW user mailing list is always a good idea for seeking help.

Please note


Is the top limit 500? I have put 1000 but it only shows 500. Emijrp 21:36, 10 February 2012 (CET)

Yes and no, see here. This value may be changed by the siteadministrator. Cheers --[[kgh]] 22:16, 10 February 2012 (CET)


Thread titleRepliesLast modified
Math Results Format206:33, 12 December 2013
Sum converting to bar chart401:41, 12 December 2013
format count seems to also count deleted pages218:16, 9 December 2012

Math Results Format

I see there is a format for sum and product. Is there one for difference and divide?

AdamBomb (talk)07:38, 20 December 2012

No, perhaps some parser functions will do the trick for you.

[[kgh]] (talk)19:17, 20 December 2012

I don't even see how that would work... if you have four values, would a "difference" format give you A - B - C - D?

Yaron Koren (talk)06:33, 12 December 2013

Sum converting to bar chart

I'm trying to figure out how to get the jqplotchart to display a simple bar chart based on a "sum" from a property.

I would appreciate it if anyone has a link to examples of how this could be done.

Thanks in advance

Dave88008 (talk)00:10, 8 December 2013

If you were trying to do "count" instead, that would be easy to do, using the "distribution" parameter. Doing a "sum" is harder... does each grouping of values correspond to a page? If so, maybe the best solution is to have each of those pages store its own sum, using a combination of #set and #ask; and then query on all of those semantically-stored sums.

Yaron Koren (talk)00:33, 10 December 2013

See [1], since SMW 1.9/SRF 1.9 parameter |aggregation=property or |aggregation=subject should do the trick.


MWJames (talk)02:51, 10 December 2013

Ooh, I didn't know about that! It sounds great... does it always just do a "sum"?

Yaron Koren (talk)16:38, 10 December 2013

Thank you. Looks like the Aggregation parameter will do what I want. Very slick!

One more reason to stop procrastinating about upgrading from SMW 1.8/SRF 1.8

Dave88008 (talk)01:41, 12 December 2013

format count seems to also count deleted pages


Returned 501 when the actual number of forms was 480

Xavi (talk)20:50, 8 December 2012

I've created a bug about that:

Yury Katkov (talk)14:40, 9 December 2012

Heiya Yury, thank you for reporting this bug. I am sorry to have fiddled around with you bug report. :( I will stop working on such things today. Cheers

[[kgh]] (talk)18:16, 9 December 2012