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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply

Custom Column Error

Hi

I am using the Call Quality Dashboard direct query connector and I have added a custom column to the dataset which is a very simple DAX formula as follows:

 

SLA Indicator = if (Query1[Overall Avg Network MOS]="hello","Green","Red")
 
When I attemp to add this SLA Indicator to a table visual I get the following error:
 
Error Message:
OLE DB or ODBC error: Specified argument was out of the range of valid values.
Parameter name: index.
 
Any ideas on this one please?
 
Thanks 

 

3 REPLIES 3
v-zhenbw-msft
Community Support
Community Support

Hi @PowerBiNoobie1 ,

 

The Direct Query mode has some limitations, you can refer this documents.

https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-directquery-about

 

Maybe you can create a measure like this,

 

cus1.jpg

 

If it doesn’t meet your requirement, could you please provide a mockup sample based on fake data?

It will be helpful if you can show us the exact expected result based on the tables.

 

Please upload your files to OneDrive For Business and share the link here. Please don't contain any Confidential Information or Real data in your reply.

 

Best regards,

 

Community Support Team _ zhenbw

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@PowerBiNoobie1 , This seems like the correct formula. Is there anything you added to this visual ?

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak Hi again 🙂 

Thanks for your response.  Sorry how do you mean is there anything I added to the visual? I am just using a table visual with the Overal Average Network MOS value column and the SLA Indicator custom column but it just throws that error all the time.

If I remove SLA Indicator I see the values in the table. 

Thanks!

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors
Top Kudoed Authors