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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.