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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
waleed111
Helper V
Helper V

A table of multiple values was supplied where a single value was expected.

when i make this formula :
Date = MAXX('List View',
CALENDAR(
MINX('List View','List View'[start date]), MAXX('List View','List View'[end date])
)
)
it gave me this error:
A table of multiple values was supplied where a single value was expected.
*Date: is a column.
what is the problem?
6 REPLIES 6
v-xicai
Community Support
Community Support

Hi  @waleed111  ,

 

Do the suggestions from engineers make sense? If so, kindly mark the proper reply as a solution to help others having the similar issue and close the case. If not, let me know and I'll try to help you further.

 

Best regards

Amy

my question is: why i cannot get column from this formula:

CALENDAR(
MINX('List View','List View'[start date]), MAXX('List View','List View'[end date])
)
it return table with single column just, then why it cannot used as a column.
v-xicai
Community Support
Community Support

Hi @waleed111 ,

 

You may create a calendar table like DAX below.

 

Calendar= CALENDAR(MIN( 'List View'[start date]), MAX('List View'[end date]) )

 

Or you would like to get the largest Date value of 'List View'[start date] and 'List View'[end date], the create measure like DAX below.

 

MaxDate= MAX(MAX('List View'[start date]), MAX('List View'[end date]))

 

Best Regards,

Amy 

 

Community Support Team _ Amy

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

i want to create a column using this formula:

date =
CALENDAR(
MINX('List View','List View'[start date]), MAXX('List View','List View'[end date])
)
but it show me this error:
A table of multiple values was supplied where a single value was expected.
 

Hi @waleed111 ,

 

From the article https://docs.microsoft.com/en-us/dax/calendar-function-dax, we know the CALENDAR function will returns a table with a single column named "Date" that contains a contiguous set of dates, and it should be used in a calculated table instead of calculated or measure, except used in variable.

 

The second argument of MAXX function should be a expression, while the CALENDAR() will return a table , which lets the error message appear.

 

So you may try to use the formulas which I have offered above to achieve your requirement.

 

Best Regards,

Amy 

 

Community Support Team _ Amy

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

amitchandak
Super User
Super User

@waleed111 , if you want a date table

Date =
CALENDAR(
MINX('List View','List View'[start date]), MAXX('List View','List View'[end date])
)

 

a max date

Date = MAXX(
CALENDAR(
MINX('List View','List View'[start date]), MAXX('List View','List View'[end date])
),[Date]
)

 

it is as good as MAXX('List View','List View'[end date])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors