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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.