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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
gtorassa
New Member

New column doesn't work

Hi all

I'm trying to add a column in my Power BI data.

The calculation of the new column is simple, I just want to extract substring after '^^' but I get an error, what's wrong?

The formula and the error are shown in the picture

 error.jpg
3 REPLIES 3
gtorassa
New Member

RIGHT function (DAX) - DAX | Microsoft Learn

RIGHT can't be used with DirectQuery, it's wierd, it's not a so complex work

gtorassa
New Member

Thanks @nvprasad, yes I configured a direct query connection towards Google Cloud Platform.

Unfortunately I have no write access to the back end data source, just read only, can it be the reason of the error?

If so, is there a possibility to create a new column directly on PowerBI without asking back end data source to do anything?

nvprasad
Solution Sage
Solution Sage

Hi,

 

I assume your report is having direct query or live connection with the data source. In this case, PowerBI sends your formula back to the data soruce for calculaiton. During this phase it tries to change formula which can be done at data source. 

 

In your case, It seems the above dax logic not able to perofrm at back end data source. 

Try to add column at backend by creating view for testing purpose. If you are able to do then create in powerbi .

 

Thank you

 

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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