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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
JiayiHe炮饱饱
Regular Visitor

NEED HELP! Problem during quick measure

Greeting , 

Need support on below .Thanks in advance !

 

I am using quick measure ,but found error massage as screenshot.

It's for attrition report, need update monthly. Strangely, the measure could use for first seven month, after I update the folder for Aug.& Sept. ,the data goes wrong . 

 

YTD File Number =
IF(
    ISFILTERED('日期表'[Date]),
    ERROR("Time intelligence quick measures can only be grouped or filtered by the Power BI-provided date hierarchy or primary date column."),
    TOTALYTD(DISTINCTCOUNT('HC List'[Source.Name]), '日期表'[Date].[Date])
)

JiayiHe_0-1666149070872.png

Could you please suggest how to fix it ?

Attach data form[日期表] as below.

JiayiHe_0-1666149512180.png

JiayiHe_1-1666149565734.png

 

Thanks again for your time !

 

3 REPLIES 3
v-yalanwu-msft
Community Support
Community Support

Hi, @JiayiHe炮饱饱 ;

Sorry you provided too little information to determine the cause of the error and didn't see your formula error message

please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

wdx223_Daniel
Super User
Super User

try to mark your datetable as date table

thanks for your reply ,didn't get it , can you suggest how to change ?

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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

Top Solution Authors
Top Kudoed Authors