Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Confiforms - How to get a pivot table around a state field

Sopaboba October 30, 2021

Hi experts

I have a Confiforms with the next structure (simplified, but those are the important field in this case):

RECORDSTATE
A/0001/2021CURRENT
A/0001/2021MOVED
A/0001/2021SUCCESS
A/0001/2021SUCCESS
A/0001/2021MOVED
A/0002/2021CURRENT
A/0002/2021CURRENT
A/0002/2021CURRENT
A/0002/2021MOVED
A/0002/2021SUCCESS

 

I know easily how to get, with a TableView Merger, the next result, to show information to the different users about the states of their tasks:

RECORDSTATECOUNT
A/0001/2021CURRENT1
A/0001/2021MOVED2
A/0001/2021SUCCESS2
A/0002/2021CURRENT3
A/0002/2021MOVED1
A/0002/2021SUCCESS1

 

But, what I really want to get is an output similiar to the next, simulating a pivot table around the fields Record and State:

RECORDCURRENTMOVEDSUCCESS
A/0001/2021122
A/0002/2021311
A/0003/2021041
A/0004/2021136
A/0005/2021621
A/0006/2021200
A/0007/2021314
A/0008/2021004
A/0009/2021012
A/0010/2021152

Is that possible with Confiforms? Only Confiforms app, I can't use other kind of add-ons.

Thanks in advance.

2 answers

1 accepted

2 votes
Answer accepted
Sopaboba November 4, 2021

I am going to answer myself.

I solved it this way:

In a TableView Merger, you introduce the following fields:

Field: Record

Field: CURRENT:([count_status.label=CURRENT]), where CURRENT is the label set to the value current in a state field

Field: MOVED:([count_status.label=MOVED]), where MOVED is the label set to the value moved in a state field

Field: SUCESS:([count_status.label=SUCCESS]), where SUCCESS is the label set to the value success in a state field

and so on. And I get the wished result.

Then you can apply CSS to highlight the cells as you want and that's it. 

3 votes
Katerina Kovriga _Stiltsoft_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 1, 2021

Hi @Sopaboba ,

I've got that you want to use only ConfiForms app for the issue and we'll wait for the representatives of their team to post an answer, but in case other Community members will come across this question - it's a common situation that they have two apps: ConfiForms and our Table Filter and Charts for Confluence app.

The latter supports the ConfiForms tables and works with them as with regular Confluence tables.

So, to achieve your goal, you may use our Pivot Table macro:

Mon 7-2.png

Mon 7-1.png

Here you may also choose to show/hide the totals.

Sopaboba November 1, 2021

Hi Katerina

Thank you for your answer, but that is not what I am looking for. As I wrote in my question, I can only do it with Confiforms. No other adds are allowed ... unless they're free.

:)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events