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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Sean-OReilly
Helper IV
Helper IV

Getting Time Intelligence Error when using Quick Measure to Calculate Quarter to Date Total

Hi

 

Why am I getting this error and How do i fix it?

Total Costs to Date QTD 3 =
IF(
    ISFILTERED('MK_Resource_LedgerEntries'[Posting_Date]),
    ERROR("Time intelligence quick measures can only be grouped or filtered by the Power BI-provided date hierarchy or primary date column."),
    TOTALQTD(
        [Total Costs to Date],
        'MK_Resource_LedgerEntries'[Posting_Date].[Date]
    )
)

 

 

SeanOReilly_0-1687943703050.png

 

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @Sean-OReilly 

 

This is just an error prompt written in the measure. Where did you use this measure? If you use the following measure instead, will it return the expected result? 

Total Cost QTD =
TOTALQTD (
    [Total Costs to Date],
    'MK_Resource_LedgerEntries'[Posting_Date].[Date]
)

or

Total Cost QTD =
TOTALQTD (
    [Total Costs to Date],
    'MK_Resource_LedgerEntries'[Posting_Date]
)

 

In addition, I see you are referencing [Total Costs to Date] measure, what is this measure's formula?

 

Sometimes a quick measure doesn't completely meet your needs, you may have to modify it or write your own measure. 

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

 

View solution in original post

2 REPLIES 2
Sean-OReilly
Helper IV
Helper IV

thanks @v-jingzhang The 2nd expression worked perfectly - your help is very mich aprpreciated 

v-jingzhang
Community Support
Community Support

Hi @Sean-OReilly 

 

This is just an error prompt written in the measure. Where did you use this measure? If you use the following measure instead, will it return the expected result? 

Total Cost QTD =
TOTALQTD (
    [Total Costs to Date],
    'MK_Resource_LedgerEntries'[Posting_Date].[Date]
)

or

Total Cost QTD =
TOTALQTD (
    [Total Costs to Date],
    'MK_Resource_LedgerEntries'[Posting_Date]
)

 

In addition, I see you are referencing [Total Costs to Date] measure, what is this measure's formula?

 

Sometimes a quick measure doesn't completely meet your needs, you may have to modify it or write your own measure. 

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

 

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

Top Solution Authors