Forum Discussion
Hussein_charif
1 year agoHelper V
Storage mode
Hi, i wanted to know if i have a table in directquery mode, can i add custom columns to it if lets say i cant adjust in my data source (adding the custom column in the source instead)?
- 1 year ago
HiHussein_charif In DirectQuery mode, you can't add calculated columns directly to the table. Instead, you can use DAX measures for dynamic calculations. If modifying the source is not an option, consider using Power Query transformations or switching to Import Mode if the dataset size permits. Calculated columns are only available in Import Mode for DirectQuery tables.
If this post helped please do give a kudos and accept this as a solution
Thanks In Advance
Vijay_Chethan
1 year agoResolver III
Hello
You sure can add additional columns using dax but note that not all DAX functions are supported in DirectQuery mode, so you might need to test your specific calculations
if this helps, please mark as solution