cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sunjin122
Helper I
Helper I

Live data filter doesn't work

I am trying to make a report with live data. I load my data from SQL Server by using Direct Query. I made few charts and filters. All filters are working well, except the Date filter, everytime when I use it, it will kill all the charts as the pic shown below. Before, the Data Column is Text format and I changed it to Date format, by going into the Modeling tab and select the data column from the Fields pane, since this is live data i cannot do this in Edit Query.  Can somebody help me with this problem? Thank you!

 

Capture.PNG

1 ACCEPTED SOLUTION
pqian
Microsoft
Microsoft

@sunjin122 this is a limitation for DirectQuery, since you are connected directly to the data source, you can't really alter the schema in a non-relational manner (text->date). One indication is this operation isn't allowed in the query editor due to folding. Changing the format can alter how the column is rendered in the report, but the semantics of cross filtering also changes, hence it didn't execute.

 

It's better if you keep this column in text format, or change the type in the data source.

View solution in original post

2 REPLIES 2
pqian
Microsoft
Microsoft

@sunjin122 this is a limitation for DirectQuery, since you are connected directly to the data source, you can't really alter the schema in a non-relational manner (text->date). One indication is this operation isn't allowed in the query editor due to folding. Changing the format can alter how the column is rendered in the report, but the semantics of cross filtering also changes, hence it didn't execute.

 

It's better if you keep this column in text format, or change the type in the data source.

@pqianThank you for your help!

Helpful resources

Announcements
Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Power BI Dev Camp Session 22 768x460.jpg

Check it out!

Mark your calendars and join us on Thursday, May 26 at 11a PDT for a great session with Ted Pattison!