In which part of Moodle Source Code, in which file can I find the Course Total Grade custom formula calculation???
I have searched the source code, but I cant find where the formula is defined
Thank you
Related
I have two questions. First - I am trying to create a new status using Jobstatus as shown below. How do I combine "Installation_Complete" & "Unviable" into a new field name "Total Visited", How do I combine "Installation_Complete" & "Unviable" & "Need_Reschedule" into a new field name "Total Scheduled"? As well as have "Installation_Complete" as Total Installed? Example below ideally it would look like this for WK45...
Total Scheduled - 1,985
Total Visited - 1,925
Total Installed - 1,859
2nd Question - In my workbook I am primarily using two Date fields. "install_date" & "date". Installation_Complete should be referencing "install_date" while Need_reschedule & Unviable should be referencing "date". In the picture above I am using "date" in columns, so the Installation_complete is actually skewed because of the date field I am using, so how would I use both date fields?
Ex. WK45 - Installation_Complete should be referencing 'Install_date" WK45 while Need_Reschedule & Unviable should be referencing "date" WK45
It would be very helpful if anyone could help me out with their input!
Thanks,
Phillip
Since you have not given any data that can be copied, I tried recreating some sample data
This was arranged in a crosstab view like you uploaded as a screenshot
Perhaps you want this.
To this I have added a table calculation Running sum on table down and edited the aliases. For more clarification, please upload some sample data that can be copied (not as screenshot). Good Luck
PS In you screenshot the grand totals are arithmetically incorrect. Please have a look.
First time I am using qlik sense. None of the videos that I have watch have help me so far.
I have data/field name 'inscription' with date format dd/mm/yyyy. I need to set age range from 18y to 90y, in range of 10y. For example from 18-28, 28-38...
I have no idea how to do this. I need the formula to do it and also where do I put this formula (its my first time using this tool).
Do I create a new dimension on the left side of the app under custom objects?
Do I put the formula in the right side where I set the dimension(bars) and measures(height)? or under aperance?
I am using qlik sense desktop feb 2019. 13.9.1
Hi I don't see your data so:
1) be sure that your date field is implemented as date by qlikview (you can test it in model viewer) if not please load it as date in load script and you can also calculate current age:
LOAD
(...)
Date#(inscription,'DD/MM/YYY') as inscription,
Today() - Date#(inscription,'DD/MM/YYY') as age // you can add Floor() or Round() function to load it as integer
(...)
Next in sheet please add histogram to display age in buckets. One way is to set dimension manually (it is like this in QlikView):
class( age, 10 )
In QlikSense is easier just drag and drop "histogram" from left, choose "age" as dimensions and customize it: see here https://www.youtube.com/watch?v=p97tIzZeZeQ
If you still have problems please let me know so I will update post. You can share also more data - model viewer screenshot, loading script or even whole qvf file from QlikSense. There are also other ways to achieve that but it depends on your data. Generally fastest is to calculate age in loading script as in above example.
I'm not sure if this is the best way to ask the question, but I can't think of a better one. I am new to Crystal Reports and have been basically left to figure it out on my own with just some resource books and YouTube.
My issue is this: I am building a report for a school that displays the next year's course selections. The report is pulling the values from an online form the students fill out and displays results on the report with two names, let's call them "report.name" and "report.value". "report.name" is an arbitrary value that the HTML of the form uses. I am wondering if it's possible to give Crystal a set of conditions so that I can format the way it displays to be a little cleaner.
Example:
CurrentMathClass Geometry
NextYearsMathClass Algebra 2
ElectiveChoice1-Grade10 Spanish 1
Right now the report is showing it like this because those are the values it is seeing. I would like it to be like this:
Current Math Class Geometry
Next Year's Math Class Algebra 2
Elective Choice 1 Spanish 1
Is there a way to give CR a set of conditions that tells it to print something different when it sees specific values, without removing the 'Name' field from the report?
Sorry if this questions is all over the place, I'm having a tough time organizing my thoughts. I appreciate any and all help.
Look to the right of Crystal. You'll see "Formula Fields".
Create a new formula. Call it #namechange or something.
If {report.name} = "CurrentMathClass" Then "Current Math Class".
Drag that formula object onto the report.
Alright, I was able to get it to get this formula working within excel:
=AVERAGEIFS($B$8:$B$88,$B$3:$B$83,"Coupons",$B$4:$B$84,"Holiday")
The formula averages the Open Rates for specific data-sets depending on their Type and Sub Type.
If B3 equals Coupons and B4 equals Holiday then paste the Average of the Open Rates for all the campaigns that contain the first two attributes into another spreadsheet.
As we all know, Google Spreadsheet does not recognize AVERAGEIF. I have been attempting to make a hybrid with the Formula Array function coupled with either FILTER or AVERAGE to no avail. Any help would be much appreciated. Thanks.
Image of spreadsheet
Try this version
=arrayformula(AVERAGE(IF($B$3:$B$83="Coupons",IF($B$4:$B$84="Holiday",$B$8:$B$88))))
The new version of Google Docs has an averageif function
I collect test results between different locations. I can never predict the amount of locations that I should generate the report for and I need to make a dashboard representing these results. The dashboard should look like this (Assume a tabular structure):
Title
Report info 1|Report info 2
Conditionally displayed report (info 3) spanning the whole table columns
Report info 4|Report info 5
Blank Cell|Location A|Location B...etc
Location X|X-A result|X-B result...etc
Location Y|Y-A result|Y-B resutl...etc
.
.
etc
I've read A LOT and after a lot of reading I still don't think I can start making a JR report !
Although, after a while of chasing the solution of doing so using tables, I found that I should use crosstabs instead because tables aren't dynamic enough (i.e. since I can't predict the amount of rows\columns that will need to be displayed). But then after reading the crosstabs section I found that it's purpose is to summarize results, like calculate totals, averages, minimum and maximum..etc and still, that's not what I need. I'll have to provide all the results locations on the x\y axis and their results, no SQL will be involved.
Also what data structure would be suitable for that ? A datasource ? A java collection\object passed as a parameter ?
Any idea how can I do that with JR ?
Also a I'm finding JR VERY confusing and complicated. I was very happy to read the freely available ultimate guide and check the demos but that didn't help much, it still looks very complicated !
Thanks in advance.
if you cannot predict the amount of columns, crosstabs are the elements you have to choose. But be aware, that the width of a Jasperreport is static (and like this possibly not optimal for your purposes).
A crosstab will summarize your data only, if you have a column or row label twice, and only if the data is not sorted by the crosstab itself or by your datasource.
According to your description, I would use a report layout like
Title-Band: Title, Infos etc
Summary: Crosstab
You could pass the static title content as parameters into your report, the crosstab content as a datasource (e.g. a bean collection)