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
PoorMens_Bravo
New Member

Extract one column data from a dataset in power automate flow

Hi all,

I have a dataset in a workspace to which i have Member permissions. Now, i am creating a scheduled cloud flow in Power automate and then would want to get a columns data from this dataset, i am using the connector "Run a Query against a Dataset"(PowerBi), firstly is this correct?

And secondly, I am running this query to pull that column data, column name is userid:

 

DEFINE
Var userid = SUMMARIZECOLUMNS ("UserlD")
EVALUATE
userid

 

And I am getting Status Code 400 error:

"Query (2, 32) Column 'UserlD' added by the 'SUMMARIZECOLUMNS' function must have the scalar expression specified."
1 ACCEPTED SOLUTION
AlexisOlson
Super User
Super User

Try this:

EVALUATE
SUMMARIZECOLUMNS ( TableName[UserID] )

View solution in original post

2 REPLIES 2
PoorMens_Bravo
New Member

Thank you very much @AlexisOlson that simply worked!!

AlexisOlson
Super User
Super User

Try this:

EVALUATE
SUMMARIZECOLUMNS ( TableName[UserID] )

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.