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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
adleh
Frequent Visitor

Relative Date using page level filter not working

I am trying to use the relative date filter and I am getting an "Error fetching data for this visual" when i click see details is says "An unexpected error occurred (file",line,function "). The data type is correctly assigned as date/time, but I have also tried just changing it to date to no avail. How can i fix?

 

adleh_0-1759349075661.png

 

1 ACCEPTED SOLUTION
adleh
Frequent Visitor

thanks for all who reached out. I found the issue, which was caused by having blanks in the date attribute.

View solution in original post

3 REPLIES 3
adleh
Frequent Visitor

thanks for all who reached out. I found the issue, which was caused by having blanks in the date attribute.

danextian
Super User
Super User

Hi @adleh 

 

Not exaclty sure what's going on but if you could post a sample pbix (confidential data remove), it would be easier for the community to figure out the reason and provide a solution.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

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


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Thanks for reaching out. The issue stems from blanks in the date attribute.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.