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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.