cancel
Showing results for
Did you mean:
Frequent Visitor

## Adding multiple columns to matrix table

I am using a matrix table to create a table that shows the number of jobs completed by day. I am using two seperate tables to compose this data.

My row information is coming from my order table and my column information is coming from my calendar table. The order count is based on a measure that I created in my order table.

I also have another column that I want to add to my matrix from my order table (ok on arrival).

This is what my matrix looks like now:

This is what I am looking to accomplish:

Any advice would be greatly appreciated!

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team

## Re: Adding multiple columns to matrix table

You may try to use ISFILTERED function.Here is the similar post for your reference.

```Ok on =
IF ( ISFILTERED ( Calendar[Date] ), [Measure], [OK on Arrival] )
```

Regards,

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
9 REPLIES 9
Member

## Re: Adding multiple columns to matrix table

You'll have to add a measure to the end of our matrix visual to accomplish that. What is your logic for what can be Okay on Arrival?

Frequent Visitor

## Re: Adding multiple columns to matrix table

OK on Arrival = CALCULATE(COUNT('FSA Order Info'[OK on Arrival v1]),'FSA Order Info'[OK on Arrival v1]="1")

Ok on Arrival v1 is a conditional column that I created based on specific specifications.

Thanks!
Highlighted
Member

## Re: Adding multiple columns to matrix table

Convert that to a measure and add that into the Values field of a matrix visual

Frequent Visitor

## Re: Adding multiple columns to matrix table

Still a little confused. Convert what to a measure?

Ok on arrival is a measure. Convert the conditional column to a measure?

Member

## Re: Adding multiple columns to matrix table

Yeah. So it would be something like this:

`OK on Arrival = CALCULATE(COUNTROWS([OK on Arrival v1]), [OK on Arrival v1] = "1")`

Also, I'm assuming that your calculated column is a Text Data Type since you're putting the number 1 in quotation marks.

Frequent Visitor

## Re: Adding multiple columns to matrix table

Ahh. Ok. I understand.

That works, but doing that gets this result. I just want the count to be at the end of the table like pictured above

Member

## Re: Adding multiple columns to matrix table

Right. Make sure the measure is in the Values property on the matrix visual

Frequent Visitor

## Re: Adding multiple columns to matrix table

Yup! It is. I might just try to color code te results to make it a little easier to read for the end user.

Community Support Team

## Re: Adding multiple columns to matrix table

You may try to use ISFILTERED function.Here is the similar post for your reference.

```Ok on =
IF ( ISFILTERED ( Calendar[Date] ), [Measure], [OK on Arrival] )
```

Regards,

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.