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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Ganeshwar
Frequent Visitor

Datamodel issue when used as Direct Query

Hey folks!!!

 

I have an issue with one of the datamodel column type, when its used as a direct query in another datamodel,  some of the date/time column values are considering  as text and throwing an error in the visual though the type is Date/time in the source datamodel (am using a measure in a visual with this issued column). The same measure when used  in the main datamodel doesnt have any issue. 

 

*I have already tried pulling only date and used in measure but issue still persists but everything works fine in the main datamodel.

 

Any ideas would be highly appreciated !!!

 

2 REPLIES 2
Anonymous
Not applicable

HI @Ganeshwar,

What type of data source are you workde on? Can you please share some sample data or snapshot about these field values that stored in your database?

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

HI Xiaoxin

 

Data source used in main datamodel is MS-SQL -- this main datamodel is being used as direct query in other datamodel, the measure used in other datamodel is considering date/time column as text. But if i use the same measure in main datamodel it doesnt throw any error.

 

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.