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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Amjad1002
Helper II
Helper II

IFS STATEMENT IN DIRECT QUERY

Hello folks,

I am trying to use ifs statement into my direct qurey table. I am trying to add condition or customer column but I am getting an error.  Are we not able to add column if there is a direct query ?

 

Thanks

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Amjad1002 , You can add simple columns using if. But if try to cross-row operation it might not work

 

explained here

Power BI Decoding Direct Query: https://www.youtube.com/playlist?list=PLPaNVDMhUXGbKatyDdOhGbTL3xW2Xy6pA

 

 

View solution in original post

3 REPLIES 3
Amjad1002
Helper II
Helper II

And even I try to switch into  table import mode. It is now working and showing me this eror.

 

Amjad1002_1-1680795937888.png

 

 

amitchandak
Super User
Super User

@Amjad1002 , You can add simple columns using if. But if try to cross-row operation it might not work

 

explained here

Power BI Decoding Direct Query: https://www.youtube.com/playlist?list=PLPaNVDMhUXGbKatyDdOhGbTL3xW2Xy6pA

 

 

Amjad1002_0-1680795683322.png

Hi Amit,

When I try to add custom column is showing me this error into direct query.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.