cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
martinmcmillz Regular Visitor
Regular Visitor

Why a calculated column isn't appearing in a measure

Hi,

I'm trying to get a very top level metric on how many overdue applications I have in a table.

I've created a calculated column to calculate whether they are Overdue, Due, Ok, or Not Yet Due.

I just want a measure to count the number of Overdues but my calculated column isn't appearing when I'm trying the formula out. Which I'd like to be:

No of Overdue Applications = CALCULATE(COUNT('Sales Order Valuation Schedule'),FILTER('Sales Order Valuation Schedule','Sales Order Valuation Schedule'Due & Overdue Applications="Overdue"))

 

Any idea what I'm doing wrong?

Capture.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Why a calculated column isn't appearing in a measure

@martinmcmillz,

 

The ampersand (&) appears like a short underscore. You may leave a comment here.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
4 REPLIES 4
Super User
Super User

Re: Why a calculated column isn't appearing in a measure

Hi @martinmcmillz

 

Small change is needed here. You are passing your table name as parameter to COUNT function, instead you should pass the colun name.

 

Your count function should be like this:

 

COUNT('Sales Order Valuation Schedule'[Due & Overdue Applications])

 

Thanks

Raj

martinmcmillz Regular Visitor
Regular Visitor

Re: Why a calculated column isn't appearing in a measure

Hi Raj

 

But that's precisely what I'm trying to do, use the column name but it's not appearing:

 

Capture.PNG

Community Support Team
Community Support Team

Re: Why a calculated column isn't appearing in a measure

@martinmcmillz,

 

The ampersand (&) appears like a short underscore. You may leave a comment here.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
martinmcmillz Regular Visitor
Regular Visitor

Re: Why a calculated column isn't appearing in a measure

Well done that worked! It doesn't like "&".

Thanks