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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Calendar table error "multiple values"

Hello 

 

I am having problem with the calendar "A table of multiple values was supplied where a single value was expected.".

 

Calendar = CALENDAR(DATEADD(SaleDetail[Saledate], -5, YEAR), TODAY())

 

poko_0-1728391978640.png

 

Can someone help mewith this error? Please don't put a link as I am beginner need to see an example or correct solution. Thank you for understanding.

 

Poco

7 REPLIES 7
Anonymous
Not applicable

Hi @Anonymous 

If you want to get data from the past five years up to now, you can use the between slicer. If not, please provide sample data that fully covers your issue and the expected outcome based on the sample data you provided.

 

 

 

 

 

 

 

 

Best Regards,

Jayleny

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

it should show all cases depend on the date a user choose but those 5 years and more must be applied in every chosen day in a calendar

Anonymous
Not applicable

from 01/01/1961 - 08/10/2019 

HotChilli
Super User
Super User

DATEADD returns a table but you want a single date as the first parameter.  Test it by hardcoding a date in there, for example,  DATE ( 2020, 10, 15 )

If you get that to work, construct the actual date you are trying to get

Anonymous
Not applicable

can you be more specific? an example for "If you get that to work, construct the actual date you are trying to get"? Thank you.

Anonymous
Not applicable

with the current date, 5 years a more older, I can upload power bi file pbix

Kedar_Pande
Super User
Super User

What is the range of expected dates?

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.