cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

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
Highlighted
Community Support
Community Support

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.

View solution in original post

4 REPLIES 4
Highlighted
Resident Rockstar
Resident Rockstar

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

Highlighted
Helper I
Helper I

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

Highlighted
Community Support
Community Support

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.

View solution in original post

Highlighted
Helper I
Helper I

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

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

Thanks

Helpful resources

Announcements
May 2020 Community Highlights

May 2020 Community Highlights

It’s time for another PBI Community recap!

Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Galleries

Galleries

Looking for inspiration on how to present your data? Need instructional videos? Check out our Galleries!

Top Solution Authors