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
Larsc
Frequent Visitor

Filter results from due-date table

Hi

 

We have a table that contains info on all invoices sent to customers. This table contains a due-date column.

I would like to make a visual that only takes values where the due date is reached.

That would give us information about what invoices have not been paid in time.

 

CustomerAmountPosting DateOpenDue Date
A10012/1-2022112/31-2022
B8011/28-2022131/11-2022
C25011/13-2022012/25-2022

 

Table example

An open invoice has not yet been paid. I would like to have a visual that only shows unpaid invoices where the due date is in the past if that makes sense?

1 ACCEPTED SOLUTION
v-zhangti
Community Support
Community Support

Hi, @Larsc 

 

You can try the following methods.

Measure = 
IF(SELECTEDVALUE('Table'[Due Date])<=TODAY()&&SELECTEDVALUE('Table'[Open])=1,1,0)

vzhangti_0-1670464577063.png

Put measure in the filters of the view you want to display and set it equal to 1.

Result:

vzhangti_1-1670464673679.png

Is this the result you expect?

 

Best Regards,

Community Support Team _Charlotte

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

3 REPLIES 3
v-zhangti
Community Support
Community Support

Hi, @Larsc 

 

You can try the following methods.

Measure = 
IF(SELECTEDVALUE('Table'[Due Date])<=TODAY()&&SELECTEDVALUE('Table'[Open])=1,1,0)

vzhangti_0-1670464577063.png

Put measure in the filters of the view you want to display and set it equal to 1.

Result:

vzhangti_1-1670464673679.png

Is this the result you expect?

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-zhangti 

 

Thx for that, it works a bit more smooth then my own solution.

Larsc
Frequent Visitor

For anyone stumbling upon this thread. I manage to solve the issue using the following measure

 

Measure = IF ( NOW() > FIRSTNONBLANK( 'Table'[Due Date], 'Table'[Due Date]), "True", "false")

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.