Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

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

@Anonymous,

 

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
Anonymous
Not applicable

Hi @Anonymous

 

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

Anonymous
Not applicable

Hi Raj

 

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

 

Capture.PNG

@Anonymous,

 

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.
Anonymous
Not applicable

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

Thanks

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.