No video

Power BI parameters - Updating in the Power BI Service or with APIs

  Рет қаралды 38,597

Guy in a Cube

Guy in a Cube

Күн бұрын

Пікірлер: 71
@false00
@false00 3 жыл бұрын
Dude.. You just saved my life. Thank you. I can't believe I couldn't change parameters this whole time just because I had the type set to "any" instead of "text" .. smh.
4 жыл бұрын
Thank you very much Adam. I was not able to update the parameters in Power BI Service because I set it with type Any. When I changed it to Text it worked. With that small comment in your video you saved us a lot of headaches. Keep the good job! It is not well documented anywhere else.
@gilbertopadilha1
@gilbertopadilha1 3 жыл бұрын
You are very good and your explanation are very clear! Congratulation!
@GuyInACube
@GuyInACube 3 жыл бұрын
Appreciate that Gilberto! 👊
@zoloturu6322
@zoloturu6322 6 жыл бұрын
I waited for it about 3 months. Finally, we have this :)
@andrecavasotero6234
@andrecavasotero6234 6 жыл бұрын
Great video! you solved a problem I was facing in my work. By the way, I loved your shirt and I've never forgotten Mama Fratelli (Anne Ramsey).
@paulturley5793
@paulturley5793 6 жыл бұрын
Gwab the GUID! GWAB THE "GWID"! Nice demo, Adam.
@GuyInACube
@GuyInACube 6 жыл бұрын
haha. yeah got a little tongue-tied. Not something I want to say three times fast.
@paulturley5793
@paulturley5793 6 жыл бұрын
You were channeling Elmer Fudd. I love the phrase "GWAB the GWID" though. I might send you a T Shirt with that on it!
@GuyInACube
@GuyInACube 6 жыл бұрын
love it!
@bradj229
@bradj229 4 жыл бұрын
Great video! Having the exact location of that powershell script you used would be really helpful right now... :)
@yoshihirokawabataify
@yoshihirokawabataify 6 жыл бұрын
Nice, I post a Microsoft Flow idea, "Update Parameter of Dataset on Power BI Service". for no-code, for no-developer, for citizen data analyst.
@GuyInACube
@GuyInACube 6 жыл бұрын
Good idea! Would be a nice way to simplify that for folks using Flow.
@ArifSherKhan
@ArifSherKhan 4 жыл бұрын
Can we create a drop down list parameter in Power BI Service instead of the text field?
@gebberry8025
@gebberry8025 4 ай бұрын
great explanation.. of the api endpoint.. can it be done just with XMLA? like a table, or a refresh? would be great to have the XMLA syntax so you could do it quick from SSMS/Dax studio etc.. Tried create/replace alter.. but don't seem to be able to get syntax right?... will it?
@erielkhan
@erielkhan 4 жыл бұрын
I have a problem when trying to update the parameters. It seems PBI online are not detecting any parameters in my pbix, but in desktop it works.
@vishnuknr
@vishnuknr 4 жыл бұрын
Facing the same issue. Were you able to find the solution?
@peaceroshan
@peaceroshan 4 жыл бұрын
Same issue.. what is the solution? And how is he doing it in this video?
@fngr789
@fngr789 6 жыл бұрын
Thanks for the great video, Adam! I have been using and changing parameters for a while now in my model in Power BI service and I noticed that even if it is a simple text parameter (used as date field in a REST API query in the model) whenever I change it to show the data for the next day (from 2018-04-10 to 2018-04-11) the gateway is unselected. I have to tick it back every time. It is not a big deal but I was hoping that it behaves differently with an on-premise gateway, currently I am using a personal one. Based on this video it is exactly the same.
@genevievemuir6968
@genevievemuir6968 4 жыл бұрын
Hi Adam, when I republish the dataset from the desktop the parameters in service are overwritten to those of desktop. The example is my cut off date is only one month in desktop but in service it is set to 2 years. Is there anyway to preserve the parameter in service?
@user-cq7ys9mt2c
@user-cq7ys9mt2c Жыл бұрын
Adam, this is very good session, I have one question I need to pass parameter to stored proc used in power bi. not sure if i can use same concept but then how do i render report after updating parameters and will it impact for all users ?
@corinnaadkins2010
@corinnaadkins2010 6 жыл бұрын
Thanks Adam. Great Information as usual!
@GuyInACube
@GuyInACube 6 жыл бұрын
Thanks Corinna! And, thanks for watching!
@tcohenonline
@tcohenonline 4 жыл бұрын
Cannot find the PS script you refer to. Is it out there?
@truevaluebusinessintellige6146
@truevaluebusinessintellige6146 6 жыл бұрын
Adam, Would this work to pass a parameters to a report using Power BI embedded for customers, i.e. users with out a Power BI license? We have a scenario where we would like to create one dashboard and then pass in a store guid to filter the dashboard to be data specific to that store. Thanks, Gary
@tushardesai248
@tushardesai248 5 ай бұрын
I cannot find the Powershell sample for update parameters in the link given in description. Please help
@pinakmaitra9938
@pinakmaitra9938 4 жыл бұрын
Hi...i am currently working with parameters in power BI desktop and i was able to do that..like users will have the ability to enter values from drop down list and then submit the report.but i cannot find a way to enable " select all" values in the parameter drop down list so that users can select all the parameter values at one go.can you please help!
@lucapriano6140
@lucapriano6140 5 жыл бұрын
I'm using a parameter to make a dynamic query on my dataset and I'd like to display current parameter value in my report, so I added it into a visual card and all works fine in Power Bi Desktop: when I change parameter value, I refresh data and parameter value is correctly updated in my report. Unfortunatelly once uploaded the report to Power Bi Service, it doesn't work fine anymore: changed the parameter value, refreshed the dataset, refreshed the report...value displayed isn't updated! :-( Any suggestions?
@PraxeoIogy
@PraxeoIogy 6 жыл бұрын
I think this is a great evolution. It would be great if we could push updates to the interfaces of the report view in PBI desktop (as well as copy paste across pbix files) separately from the query and data model (have tried by converting to zip, and replacing the report folder but it corrupts the file). Even if all were the same across all clients/app workspaces, we would still have to open the pbit file and plug in the parameters and redeploy for each and every app workspace when there is an update. Otherwise create some dummy parameters I guess and deploy for each one?
@innocentwafula2171
@innocentwafula2171 4 жыл бұрын
I am trying to do this exact process but I do not have any gateway installed. Do you have another tutorial showing how to install a gateway?
@denisdeangelo6605
@denisdeangelo6605 5 жыл бұрын
Hey Adam, thanks for another great video.. Do you know if it's possible to create 2 parameters, with 2 different paths, and change them into the BI service (without using APIs)? We need to update a report with files in a shared folder, but the path from each computer are different. The idea is to have one report, and just changing the parameter, we could refresh the dataset from the service. Thanks in advance
@ankitdagreat
@ankitdagreat 6 жыл бұрын
So this mean that we can actually change the data source location after the sadhboard has been published?
@shivendrakumaryadav5811
@shivendrakumaryadav5811 6 жыл бұрын
Cool... Desperately looking for it... awesome! thank you :)
@ronand8936
@ronand8936 5 жыл бұрын
Nice Adam but how do you set parameters in a power Bi url query or can’t you ? I want to deploy one report but have a production and dev instance of a web app change the database the power bi report is pointing to via a url string or some other mechanism . Maybe it needs to be encoded . Can this not be done as it is a security risk ? Or is there some mechanism
@mahaveerprajapat7094
@mahaveerprajapat7094 Жыл бұрын
I have a question, if once i create reports or dataset in power bi desktop and data are got from api,and i publish the report, Then is there any way to refresh the report in power bi service without refresh in power bi desktop, Means the data are directly getting from API, there is no need to open power bi desktop and refresh there and re publish.
@joemarchetti5098
@joemarchetti5098 4 жыл бұрын
Hi Adam. I really appreciate the helpful presentations you and Patrick provide. I have been parameterizing my sql connections for some time in order to alternate between development and production environments. This works great and does save a lot of work and time. But... I just ran into an issue where it isn't working and was wondering if you have any solutions for me. I have a production sql server that I am trying to utilize that has a backslash in the servername (don't ask me why it was setup like that) - i.e. Server\Name.db The gateway connection to the server and db was established fine but I can't get my dataset to find that gateway connection when I change the parameter to the prod server name. PBI appears to be interpreting the backslash in the parameter as a double backslash when looking for the connection (so I get an error saying that the gateway connection "Server\\Name" was not found). What am I missing here? Do you have a solution for me? Pretty please.
@mohammedALI3
@mohammedALI3 5 жыл бұрын
good, I need Help. How we can change the value of the parameter after publishing a report on power bi services or power bi report server. kindly note that the passing is dynamically not manual it's possible in this case?
@karanjeetsingh2763
@karanjeetsingh2763 5 жыл бұрын
Hello Adam How can we update parameters in a report hosted on Power bi report server.
@Hikmer2
@Hikmer2 6 жыл бұрын
It would be nice if there was a dropdown or list that a user could pick (think the SSRS experience) in the PowerBI service to select a database name as a parameter. An open text filed is not ideal.
@jonglassmusic5813
@jonglassmusic5813 3 жыл бұрын
But if you have to make a change to the report, re-publishing it over-writes the parameters with what's set in the file. How can we do the following...publish REPORT1 to two workspaces, and point them at different sources. Then (say following a schema change) update REPORT1 and update the two deployed versions ?
@RogersPereira
@RogersPereira 4 жыл бұрын
Is there anyway to preserve the parameter in service? when i republish from powerbi desktop, all the parameters are updated too. from a deploy point of view this is anoying.
@miragliag
@miragliag 6 жыл бұрын
can we set Themes as a Parameter?
@Maroto21
@Maroto21 5 жыл бұрын
Thanks for the video. Can we dynamically change the value of parameters based on the URL? I'm embedding a set of power BI reports in an external web site. These reports read from a Hana Cloud database via direct query. For the report to work fine and have good performance, I need to filter the SQL statements to HANA by the username that logs in this external web site, so USER1 --> Logs in Web --> the Power BI report is called via iFrame, and this is where I'm stuck, there does not seem to be a way to pass a value to a parameter in the URL. If that was possible, I could use that parameter to filter my calls to the HANA views. So the question is, how to update a Power BI parameter from the report URL?
@vshankaa
@vshankaa 6 жыл бұрын
Does this not work for Direct Query reports?
@phvaguiar
@phvaguiar 4 жыл бұрын
The API is sending time info in the wrong time zone. How do I fix that?
@nasar1588
@nasar1588 6 жыл бұрын
Does this work for AS Tabular model love connection? Also how does it work if I more than one source I wanna switch to depending on user??
@GuyInACube
@GuyInACube 6 жыл бұрын
No. You cannot define Parameters in an AS Live connection model. The Power Query items aren't available. For the second piece, you can have multiple parameters. The example I used was just a simple example. You would potentially have to make use of Functions to handle what paths to go through.
@ZeroMagnetic
@ZeroMagnetic 6 жыл бұрын
Seems like the powershell sample file (updateparameters.ps1) has been removed :(
@victoriaschroder9847
@victoriaschroder9847 4 жыл бұрын
has this been changed by now? Cant find the document either.
@tushardesai248
@tushardesai248 5 ай бұрын
Me too@@victoriaschroder9847
@cirem2007
@cirem2007 6 жыл бұрын
Is it possible to update report parameters with reports published to an on-premise Power BI Report Server using a csv file or database table?
@GuyInACube
@GuyInACube 6 жыл бұрын
Unfortunately no :( You would need to update within Power BI Desktop and then re-publish.
@ahv5457
@ahv5457 Жыл бұрын
Hi, I am getting data from an API that has two parameters like below in the URL: Param1930=2021-01-01&Param1931=2030-12-31&format=JSON These are the start and end dates of the report that I have manually set up in the API URL. But, how do I make it dynamic so that everyday that I refresh the data in Power BI connect to the API and pull the latest data? My current M code is something like below: let Source = Json.Document(File.Contents("C:\Users\Ali\AppData\Local\Microsoft\Windows\INetCache\IE\EHD7MHFN\1120")), #"Converted to Table" = Table.FromList(Source, Splitter.SplitByNothing(), null, null, ExtraValues.Error), #"Expanded Column1" = Table.ExpandRecordColumn(#"Converted to Table", "Column1", {"txtProvider", "txtIncidentNo", "FltDate", "LogTime")
@HillChris1234
@HillChris1234 4 жыл бұрын
God... why can't I just pass the parameters as QueryString parameters? Would that just be too straightforward?
@prateekraina2781
@prateekraina2781 6 жыл бұрын
Hey Adam, Can we change parameters for reports which have Azure SQL database and Cosmos DB as data sources?
@waltertiggeloven
@waltertiggeloven 6 жыл бұрын
I think you can update any parameter (as long as it has the right data type as Adam pointed out). So I guess this will work for any data source connection as long as you are able to put the parameters in the connection string.
@GuyInACube
@GuyInACube 6 жыл бұрын
Correct. As long as you can define the parameter within Power Query, you should be able to update it via the apis assuming the data types are correct.
@prateekraina2781
@prateekraina2781 6 жыл бұрын
Give it a try and you will be amazed. It doesn’t
@homePCBot
@homePCBot 4 жыл бұрын
@@prateekraina2781 :(
@waltertiggeloven
@waltertiggeloven 6 жыл бұрын
Great video, thanks for that. Only . . . . I think this (updateparameters.ps1) script is not in the link to the PowerShell samples (yet). Can you add this file to the other sources?
@GuyInACube
@GuyInACube 6 жыл бұрын
you are correct. I'm working on getting it in there. Was one of those things where the video got ahead of the powershell script. should be there later tonight or tomorrow morning.
@waltertiggeloven
@waltertiggeloven 6 жыл бұрын
Top! Many thanks for that 🙏🏻
@rasithachathurangaliyange
@rasithachathurangaliyange 3 жыл бұрын
you know Adam , if you didn't mention about the importance of data types of parameters , I will fail to admit the use of parameters from development to production.
@rasithachathurangaliyange
@rasithachathurangaliyange 3 жыл бұрын
Thanks a lot
@rogeriodalcin2213
@rogeriodalcin2213 5 жыл бұрын
I guys, I need to do the same thing, but in Azure. I have Microsoft Dynamics ONLINE custumer that use different credentials. I need to publish the same file to everyone. Is it possible to do this simply? Currently, I need to create all DAX formulas again and copy the all images again.. Can help?
@GuyInACube
@GuyInACube 5 жыл бұрын
I'm not sure I understand the scenario fully. This would not help with credentials.
@rogeriodalcin2213
@rogeriodalcin2213 5 жыл бұрын
@@GuyInACube I'm not sure, but I do not think so..The connection between PB and Dynamics 365 ONLNE is API Web from Microsoft Dynamics own environment. Example: XX.api.crm2.dynamics.com/api/data/v8.2 .and each customer has its own URL in Dynamics. We do not use an OnPremises database, just the Azure ONLINE database, so with each new customer, we need to connect to that customer URL to load the tables, so every new customer we do a new file from scratch (again). Maybe I can send an email with the screen image for you to see.. what you think?
@lorenzouriel2368
@lorenzouriel2368 Жыл бұрын
Somebody has the file?
@tushardesai248
@tushardesai248 5 ай бұрын
i am also looking for it
STOP publishing your Power BI report until you do these 5 things!
10:15
Cute kitty gadgets 💛
00:24
TheSoul Music Family
Рет қаралды 17 МЛН
Kids' Guide to Fire Safety: Essential Lessons #shorts
00:34
Fabiosa Animated
Рет қаралды 17 МЛН
SPONGEBOB POWER-UPS IN BRAWL STARS!!!
08:35
Brawl Stars
Рет қаралды 22 МЛН
А ВЫ УМЕЕТЕ ПЛАВАТЬ?? #shorts
00:21
Паша Осадчий
Рет қаралды 2 МЛН
How to Use List Generate to Make API calls in Power Query
18:27
BI Gorilla
Рет қаралды 39 М.
Dataverse + Power BI: What you didn't even know you needed!
12:45
Guy in a Cube
Рет қаралды 60 М.
A quick look at Power BI dataflows
12:25
Microsoft Power BI
Рет қаралды 222 М.
🚨 YOU'RE VISUALIZING YOUR DATA WRONG. And Here's Why...
17:11
Adam Finer - Learn BI Online
Рет қаралды 97 М.
Can What If parameters help in Power BI reports?
7:14
Guy in a Cube
Рет қаралды 93 М.
Embedding with Power BI - What's the difference?
10:46
Guy in a Cube
Рет қаралды 120 М.
Getting Started with Power Query APIs - It's surprisingly easy!
9:17
MyOnlineTrainingHub
Рет қаралды 124 М.
Power BI: Hiding future dates for calculations in DAX
12:31
Guy in a Cube
Рет қаралды 48 М.
How To Integrate A Power App Into Your Power BI Report
22:37
Enterprise DNA
Рет қаралды 87 М.
Cute kitty gadgets 💛
00:24
TheSoul Music Family
Рет қаралды 17 МЛН