cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills 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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors