Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I have a calculated column which filter data on the basis of other column. the calculation is working fine in import mode of source but failing in direct query mode.
Can anyone please suggest a workaround?
Solved! Go to Solution.
Hi @ElevonTeam,
>> the calculation is working fine in import mode of source but failing in direct query mode.
Current there are a few limitations to use calculation in directquery mode, so you can't use calculated column to achieve your requirement.
Reference link:
>>Can anyone please suggest a workaround?
In my opinion, I'd like to suggest you use measure to instead.
Regards,
Xiaxoin Sheng
Hi @ElevonTeam,
>> the calculation is working fine in import mode of source but failing in direct query mode.
Current there are a few limitations to use calculation in directquery mode, so you can't use calculated column to achieve your requirement.
Reference link:
>>Can anyone please suggest a workaround?
In my opinion, I'd like to suggest you use measure to instead.
Regards,
Xiaxoin Sheng
I have create a sample Power BI report which connect to SQL Server database by using DirectQuery mode, and then create a calculate column. I can use this column in Slicer and use it to filter data without any questions.
So could you please provide us more detail information, so that we can make further analysis. You can upload a pbix file to Onedrive or any web storage and share the link. Do mask sensitive data before uploading.
Regards,
Charlie Liao
Try recreating the the complete table brought through by direct mode using dax...
Create new table
XTable = SUMMARIZE(Table,Header a, Heade B,...
)
Then add a calclated column to it what you need.
The calculated column on a Direct query table becomes a measure rather than a calculated column
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.