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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
alowen
New Member

PowerQuery conditional column breaks scheduled refresh

Hello! I have a pbix that runs queries against Active Directory. When adding a conditional column via the PowerQuery editor it seems to break scheduled refreshes. All the conditional column does is look at the AD title column and search for specific strings of text and if found, drops it into the new column. 

 

#"Added Conditional Column" = Table.AddColumn(#"Replaced Errors11", "Vendor", each if Text.Contains([organizationalPerson.title], "Vendor1")
then "Vendor1" else if Text.Contains([organizationalPerson.title], "Vendor2")
then "Vendor2" else if Text.Contains([organizationalPerson.title], "Vendor3")
then "Vendor3" else if Text.Contains([organizationalPerson.title], "Vendor4")
then "Vendor4" else if Text.Contains([organizationalPerson.title], "Vendor5")
then "Vendor5" else "Other")

 

As soon as that column is added i get the following error: You can't schedule refresh for this dataset because the following data sources currently don't support refresh.

 

Is this just an unsupported feature? If so, is there an alternative method that would work with scheduled refreshes?

 

Thanks!

 

2 REPLIES 2
alowen
New Member

Yes, table loads without issue. And, as you mention, there's no source of the error listed after the error message.

 

Interestingly though, I checked and the dataset DID refresh overnight as it was scheduled to do before this error appeared. I can't make any changes to the refresh schedule, but it does appear to be working.

otravers
Community Champion
Community Champion

That table loads in Power BI Desktop without issue with the conditional column, correct? We've seen these weird error messages lately like the one you posted where there's no actual source listed below it. Clearly a bug that seems to randomly come and go.

 

If you really can't get the dataset to refresh with your conditional column, I'd try to move that query to a dataflow and see if it refreshes there.

------------------------------------------------
1. How to get your question answered quickly - good questions get good answers!
2. Learning how to fish > being spoon-fed without active thinking.
3. Please accept as a solution posts that resolve your questions.
------------------------------------------------
BI Blog: Datamarts | RLS/OLS | Dev Tools | Languages | Aggregations | XMLA/APIs | Field Parameters | Custom Visuals

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors