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
Anonymous
Not applicable

Today()-30 day record

Hi,

 

Getting error while calculating today-30 day data.

It is working fine but when i select calendar filter for particular month it is not working.

For eg. in November month i dont have 14th and 15th day records and when i select november month i am getting this error.

It looks like i dont have continuos date thats why i am getting this error?Any idea? Any solution?

 

 

Screenshot_2.png

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @Anonymous,

 

To use the DATEADD as the error says you need contiguos data, I would create a dimension Dates table and relate that with the date on your table and use that also for calculating the Dates filters.

 

Should work, if you need any assistance please share a sample of data or copy of PBIX file.

 

Regards,

MFelix


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

4 REPLIES 4
v-juanli-msft
Community Support
Community Support

Hi @Anonymous

MFelix's suggestion should be helpful.

If it not suit your scenario, could you show me an example of your scenario?

 

Best Regards

Maggie

Anonymous
Not applicable

Yes,MFelix's suggestion worked!!

MFelix
Super User
Super User

Hi @Anonymous,

 

To use the DATEADD as the error says you need contiguos data, I would create a dimension Dates table and relate that with the date on your table and use that also for calculating the Dates filters.

 

Should work, if you need any assistance please share a sample of data or copy of PBIX file.

 

Regards,

MFelix


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Anonymous
Not applicable

Yes, It worked. Thanks!!

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.