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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
googlogmob
Advocate II
Advocate II

Use calculated variable in web query with gateway

Hi

If use static web query link - gateway and report works well

(

   http://10.10.10.10/ERP-Orchids/hs/getting/20150101

)

But when I added calculated variable to link, PowerBI Desktop report works well, but I cant add gateway to report:

 

(

   v = Text.From( DateTime.LocalNow() )

   "http://10.10.10.10/ERP-Orchids/hs/getting/" & v

)

 

Is there way to use calculated variable in web query with gateway?

4 REPLIES 4
v-qiuyu-msft
Community Support
Community Support

Hi @googlogmob,

 

It's not supported to type Power Query functions as web URL when we create a web data source under on-premise data gateway. In your scenario, please try to configure the dataset to use personal gateway in Power BI Service.

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-qiuyu-msft

 

Our company has used for more than 20 accounts. The manual is written to the gateway that personal gateway can be used only for a single account. Consequently, the personal gateway does not suit us

Tell me, please, what to do in such a situation
All service PowerBI without running the gateway becomes simply useless

Hi @googlogmob,

 

Already voted on your idea. I will report this feature request internally, will back here once I get any feedback.

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Here is my Idea

Please, vote )

 

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.