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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
v-yuezhe-msft
Employee
Employee

@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

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

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

@rkumar,

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

Regards,
Lydia

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

View solution in original post

5 REPLIES 5
v-yuezhe-msft
Employee
Employee

@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

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

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.

@rkumar,

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

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Greg_Deckler
Super User
Super User

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


@ 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!:
The Definitive Guide to Power Query (M)

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.