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
tiffany1234
Regular Visitor

[Error] Couldn't load the data for this visual in DirectQuery mode

Hello, we are currently encountering an issue regarding data in the "Direct Query" mode: 
Within the Slicer:
If it's single selection, the visualization chart encounters the following error: [OLE DB or ODBC error: [Expression.Error] Unable to fold the expression to the data source, please try a simpler expression] (as shown in picture below).
If it's multi-selection, the visualization chart displays correctly.
May I ask what could be the cause of this issue?

圖片1.png

 

 

1 REPLY 1
lbendlin
Super User
Super User

Look at the network trace .  Most likely it is messing up the IN version with a single list item.

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.