Forum Discussion
robon
5 years agoFrequent Visitor
query to parameter
Hey, I'am new to Power BI, so maybe you can help me. I've got a query who pulls a sessionID and a few other thing i need. The sessionID is always changing. How can i create a parameter that contain...
- 5 years ago
Hi robon ,
Have you refreshed data or applied changes?
As tested here,it works fine:
For "parameter",modify it as below:
let Source = ()=> let #"New ID"=Table.FromRecords({Table.SelectColumns(#"Table","Table.SessionID "){0}}) in #"New ID" in SourceAnd you will see:
For the updated .pbix file,pls see attached.
Best Regards,
KellyDid I answer your question? Mark my post as a solution!
v-kelly-msft
5 years agoCommunity Support
Hi robon ,
Have you refreshed data or applied changes?
As tested here,it works fine:
For "parameter",modify it as below:
let
Source = ()=> let
#"New ID"=Table.FromRecords({Table.SelectColumns(#"Table","Table.SessionID "){0}})
in
#"New ID"
in
Source
And you will see:
For the updated .pbix file,pls see attached.
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
robon
5 years agoFrequent Visitor
Thanks Kelly,
I replaced the parameter and now it is working great.
I'am really happy with this Thanks again
Rob