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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
julesdude
Post Partisan
Post Partisan

Converting Single Row Single Column Dataflow Table into Variable to use in API Call

Hi there,

 

BACKGROUND: I'm building a set of reports that all acquire data via an anonymous web API - API calls to collect data from one system the company uses.

 

I've set up two simple dataflows - basically both contains a one row one column table with the username in one, the password in the other. I did this so that should this ever change in future I could easily make the change once at the dataflow level and that would update credentials for each of my reports.

My problem is that even though I can bring these dataflows in successfully each time for each report, they come in as a table with a single entry. How can I use that single attribute as part of the login credentials in the API call, and that will also work in the Service when I publish the report? I don't know how to convert the single value in my one row, one column dataflows into a variable so I can use it in the API call.

Any help really appreciated. Is this a sensible approach in general? Is there a better way of managing this that I haven't thought about?

 

We have Pro user license here. 

1 REPLY 1
lbendlin
Super User
Super User

Tables have rows and columns. Rows are addressed by the row number, columns are addressed by the column name.

 

To get the single cell value  (assuming the column name is "Column1" you would say

 

Source{0}[Column1]

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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 Kudoed Authors