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! Learn more

Reply
rkumar
Helper III
Helper III

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

Hi All,

 

I am getting the mentioned error while working with date columns . 
To find latest updated date depending on different departments. 
Tried using lastdate for find the same bit it gives the same error. is there any way or workaround to fix this.

 

Thank you 

3 ACCEPTED SOLUTIONS
Anonymous
Not applicable

@rkumar,

A simple example for your reference. Right click your table, select "New Measure", then apply the following DAX.

Latest date=LASTDATE(Table[Date])
1.JPG2.JPG

Regards,
Lydia

View solution in original post

LASTDATE formulae is working fine when tested with some dummy data . It seems there is some other issue that we need to find in the data.

View solution in original post

Anonymous
Not applicable

@rkumar,

How is the issue going? If you have solved the issue, please accept appropriate reply as answer to close this thread.

Regards,
Lydia

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

@rkumar,

A simple example for your reference. Right click your table, select "New Measure", then apply the following DAX.

Latest date=LASTDATE(Table[Date])
1.JPG2.JPG

Regards,
Lydia

LASTDATE formulae is working fine when tested with some dummy data . It seems there is some other issue that we need to find in the data.

Anonymous
Not applicable

@rkumar,

How is the issue going? If you have solved the issue, please accept appropriate reply as answer to close this thread.

Regards,
Lydia

Greg_Deckler
Community Champion
Community Champion

Can you post your formula and maybe some sample/fake data?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Hi Smoupre,
Thanks for the reply . LASTDATE formulae is working fine when tested with some dummy data . It seems there is some other issue that we need to find in the data. will work on same and if there are any further queries ,will revert you on the same .

Thankyou

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