How to group articles by month in Joomla - joomla

How to get articles grouped by month, like this:
1. January
article 1
article 2
2. February
article 3
article 4
...
without hardcoding default joomla components and modules?

You can make a category for each month, and then put the articles in corresponding category.
-Category YEAR
--Category January
---Article 1
---Article 2
--Category Ferbuary
---Article 1
---Article 2
...and so on
Or
You could manually set the creation date for the articles (if you dont need to show the real creation date), and then sort the articles by date created.

You can put all your articles in a single category, add an "Articles Category" module, and then configure the grouping option to month.
See screenshot:

http://extensions.joomla.org/extensions/news-display/articles-display/articles-structured-lists/10731
check this extension it shows articles grouped by year and month(presented in a hierarchy)

Related

SSRS Report Group by destination, then by Year , then by Month and then by day

I am attempting write a report with a summary by location. However, the groupings are duplicating. Need to see single location name with total entries. In the example it should show Athens in 2023, month 1 and day 2 I should have a total of 2.
Required output
I grouped by destination (parent group), then by year (parent group), then by month (parent group), then by day (parent group). I want to see each location, by year, month and day as a single total entry. Instead it is splitting out each entry.
It looks like all your fields are inside the details group (the lowest level), you can see this by the the horizontal lines in the row header. You only need a single group that groups by location/year/month/day unless you also want total by month and year?
If you only need the day level totals then remove all rowgroups except 1 and then edit the remaining row group to group by the 4 fields as required.
If you want to retain the location/year/month groups so you can add totals to those, try deleting the details rowgroup.
If this does not help, explain what totals you need and show the rowgroup panel (below the main designer window)

Month slicer and filter not working properly on rolling data Power BI

i All.
I have created below measure to reflects always 3 month figures when month slicer is used.
3R =
CALCULATE(COUNT('Order'[Order/ not ordered]),DATESINPERIOD('Date'[Date],LASTDATE('Date'[Date]),-3,MONTH)))
However, when I try to add salesman figures as filter with below formula, and click to month slicer it is directly show just choosen month figures not 3 months.
3R John =
CALCULATE(COUNT('Order'[Order/ notordered])
,DATESINPERIOD('Date'[Date],LASTDATE('Date'[Date]),-3,MONTH),FILTER('Order','Order'[Salesman]="John")))
on below link I have shared a sample for this. there are 2 different table and 1 matrix.
Matrix is named working and 1 of the table is named as "not working properly". not selecting any value on slicer. all data gives same data. however when clicked month slicer not named main table is changing and this is correct. also matrix is correct but table that I am trying to achive is not working.
What i am trying to achive is, 3 month roling data based on customer and salesman. when click for example 1 on month slicer table should give January 2020, December 2019 and November 2019 figures.
https://drive.google.com/file/d/1LoqSiKhHMFn_OioI2RnXOzjcIL9dPRjS/view?usp=sharing
below is the solution. worked for me.
3R John =CALCULATE(COUNT('Order'[Order/notordered]),DATESINPERIOD('Date'[Date],LASTDATE('Date'[Date]),-3,MONTH),'Order'[Salesman]="John"))
just remove filter('order', section and it is ok now.

Dynamics CRM Marketing list dynamic date condition

I need to build a marketing list with date condition like so:
Month("End Date") = "This month" + 4
Basically, find records with End Date in 4 month
For example, if I pull the list on 6/12/17 - I will get all records with end date in Oct: 10/1/17, 10/2/17, etc
The closest I found is "Next X Month" but it also includes records within 3 month.
As an alternative - I'm exploring a path of creating workflow to update the "query" value of the marketing list record. Unfortunately, it's not possible to add Query field to the default form... this is getting very complex for a simple requirement.
Any ideas would be appreciated!
In the marketing list manage members, use "Add using Advanced Find" option and add all records with "Next 4 Month". Then use "Remove using Advanced Find" option and remove all records with "Next 3 Months".
Basically we can have a batch job every night, which will calculate the desired date or month filter for each contact record. Then fetchxml query for dynamic Marketing list can target this field.
Similarly rollup field can also be tried in contact.

Top N by Total Sales in Year X Filter Tableau

How to place a filter in my worksheet that filters a category by top sales in a certain year while still showing all years of data for that category.
Does anyone have an idea how to do this?
One solution is to create a calculated field called Sales_In_Selected_Year that returns the sales for the year you care about and null otherwise such as:
if Year = Selected_Year then Sales end
Place Sales_In_Selected_Year on the filter shelf wth a Top filter and use the original Sales field as desired. Selected_Year can be a parameter for flexibility.

Joomla K2 - How to order items by Extra Field Date

Me and a colleague are developing a website using joomla, we have ditched the joomla article component and replaced it with K2.
A part of the site's content , is posting (using K2 items) upcoming Live Events, such as an upcoming music concert, containing info about that event, images etc.
We want to find out if its possible to order these items, by the Date of the Event, or in other words how to order these items by the Extra Field : Date, of the item. K2 core only let's us order these items by Date Published or Date Created which is not what we need.
If anyone knows an easy way to overcome this obstacle it will be deeply appreciated!
we have been working on exactly the same events issue. K2 does not allow this, but we found a way of doing this in k2. The solution is an override of the template, but just one line is added.
Our events section is here vida latina events , there is 1 extra field "date". We wanted to order by this field (this solution would work for any other extra field too).
Solution
Create a menu item linking to an empty article.
Create a module k2 contents that selects from your k2 category, that appears on your new empty page
For "Order by", select "Title alphabetical" - we use this as we are going to hack it - so it needs to be an order you will not use for any other module
Open the file modules/mod_k2_content/helper.php
on line 195 find the code
case 'alpha' :
$orderby = 'i.title DESC';
break;
and replace with:
case 'alpha' :
$orderby = 'i.extra_fields DESC';
break;
This will work if you only have one extra field. If you have more than one extra field, you will have to modify the solution, but I think you get the general idea.
Hope this helps
Jeyjoo
I'm working on a similar project-making an event calendar using K2. I had the same question. What I am going to do is - for an event that is on Sept 22 2012, I will set the creation date at Sept 22 2011 (a year before). Then I will set K2 to order by "creation date" and set creation date to be hidden. This seems like a perfect solution...the only problem would be a leap year date (February 29) BUT you could set creation date to Feb 28 of the year before, and use the hours and minutes to get correct order that one day. I hope this makes sense.

Resources