cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
martinmcmillz
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

@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
rajendran
Community Champion
Community Champion

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

Hi Raj

 

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

 

Capture.PNG

@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

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

Thanks

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.