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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
knotpc
Advocate I
Advocate I

Time Intelligence not working with CARDS but works with TABLES or MATRIX

Hello, 

 

Having trouble with Time Intelligence, likely it is me not comprehending how this works correctly. Below are my formulas. 

 

RevYTD = TOTALYTD([Invoiced],'Calendar'[Date],FILTER('Calendar','Calendar'[Date]<=TODAY()))

RevMTD = TOTALMTD([Invoiced], 'Calendar'[Date], FILTER('Calendar', 'Calendar'[Date]<=TODAY()))
 
When adding these formulas into a TABLE or MATRIX along with the field 'Calendar'[DATE] Power BI desktop shows the correct values. When I add the same formulas to the "CARD" I get (BLANK). The only way to get Power BI to show the value for the formula is to set the "visual level filter" for the card to the relative date value. IE: YTD, Date is in the current calendar year. MTD, Date is in the current month. What I need is for the CARD to show the value without having to set the "visual level filter". 
 
Any help here would be much appreciated.  

 

 

2 REPLIES 2
AlB
Super User
Super User

Hi @knotpc ,

 

Have a look at this SQLBI article. You'll probably find the answer there.

In any case, it would certainly help in you provide sample data and the code for the [Invoiced] measure. Otherwise it's a bit hard to know what might be at play.  Or, ideally, share the pbix (beware of confidential data).

Thank you for the link. I read that post last week. It does not provide insight into the issue I am having. 

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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