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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

custom column for DirectQuery report

Hello, I created report using import data option and made this custom column. This column works in import version of report but now I need to create it in the DirectQuery version of the report and when I try to use same formula I get message that SUM function is not supported in DirectQuery model.  Is there a way to create column that would produce same results. For the record this column is being used in slicer visual to filter table that has conditional formating. Thank you.slicer column.png

4 REPLIES 4
Anonymous
Not applicable

Could anyone close this topic I reposted more detail one in forum section that is more appropriate to the problem I have.

Anonymous
Not applicable

Anyone know how this function can be used in Measure to archieve slicer capabilities or modified so it would still be available to with slicer visual?

Greg_Deckler
Super User
Super User

You cannot create columns in Direct Query reports, you can only create measures.


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

I created new columns for other functions using switch DAX function or date diff functions and didnt get any problems.

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.