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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
loginerror
Frequent Visitor

How to only run my custom translation function once per value to save quota

Hopefully I can explain it nicely 🙂

 

I have a custom translation function that uses an API call to the Azure Translator service. The service allows one to translate up to 2 mln charactesrs for free per month.

 

The issue I run into is caused by the Power BI auto-refresh of the data set. It eats my quota pretty fast (my source column is a bit short of 1mln characters).

 

As such, is there a way to tell Power BI to only run my function once for each value and then stop forever (for that value)?

Ideally, I would want it to only apply to one specific data source (I already referenced the values I want to translate in a separate Query that is linked to the source data)

2 REPLIES 2
ToddChitt
Super User
Super User

If you want your refresh schedule to be different than that of other queries in your model, then use a Dataflow in your Workspace. However, I can't gaurantee that Dataflows are up to handling the call to your Translation Service. But if it does, then you can schedule it as needed, or not at all. Then in your Power BI Desktop model, you can include the Entity from the Dataflow.

 

Hope this helps.




Did I answer your question? If so, mark my post as a solution. Also consider helping someone else in the forums!

Proud to be a Super User!





Greg_Deckler
Community Champion
Community Champion

@ImkeF 



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!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.