cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
alex2811
Frequent Visitor

Create individual text string from user input

Hi,

 

i would like to incorporate a text input field in one of my reports where users can enter a comment.

This comment will then be passed to an API (via URL string) that inserts it into a database.

 

example measure to create the url string:

PostCommentUrl =
VAR user_comment = "This forecast should be updated asap"
RETURN "http://api_adress:port/newcomment/" & user_comment

 

Any ideas on how to assign a value to user_comment?

 

I know this is a bit sketchy, but it is only meant as a temporary solution. The api will not be exposed outside our organisation so security should not be a concern. 

 

Unfortunately, PowerApps is not feasible due to the licensing costs for premium...

 

Thanks.
Alex

 

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

Hi @alex2811,

AFAIK, Power bi did not include any writeback features, you can't direct save changes and writeback to the datasource.

BTW, current DAX expressions not able to pick up the editable container values. (e.g. textbox)  For this scenario, I think you can consider creating a powerapp for input and submit operation, then you can embed it to power bi for these operations.

Tutorial: Embed a Power Apps visual in a Power BI report 

Regards,
Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

1 REPLY 1
v-shex-msft
Community Support
Community Support

Hi @alex2811,

AFAIK, Power bi did not include any writeback features, you can't direct save changes and writeback to the datasource.

BTW, current DAX expressions not able to pick up the editable container values. (e.g. textbox)  For this scenario, I think you can consider creating a powerapp for input and submit operation, then you can embed it to power bi for these operations.

Tutorial: Embed a Power Apps visual in a Power BI report 

Regards,
Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors