Dynamic Power BI reports using Parameters

Dynamic Power BI reports using Parameters

Guy in a Cube

7 лет назад

392,868 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@1spunch
@1spunch - 01.12.2023 18:19

How can we pass the parameter and click the REFRESH BUTTON ON THE POWER BI SERVICE REPORT?

Ответить
@mhein5589
@mhein5589 - 28.11.2023 20:53

This was awesome, and I was able to pass two parameters in the same table. Thank you!

Ответить
@bilhanbel3487
@bilhanbel3487 - 02.10.2023 23:25

what if we are on a webpage (pbi embedded - direct query) and i'm a teacher and we all (teachers) have their student ids and this id is in the link of the webpage and i want to display studentA and another teacher want to display studentB on the same report at the same time, is this possible ? @guyinacube

Ответить
@anjanashetty482
@anjanashetty482 - 01.10.2023 05:38

Hello, I want to pass user logged in through parameter to snowflake query. Please provide inputs how to implement this scenario. Thanks in advance!

Ответить
@hirenrami7348
@hirenrami7348 - 27.09.2023 15:11

can you suggest a solution How can I use the same parameter in Python script and refresh the data?

Ответить
@shreee1986
@shreee1986 - 21.08.2023 10:17

Wonderful. Instead of parameter values from Excel source, can we have the value passed from URL? Once submitted, the filtered data set must be returned from database itself?

Ответить
@rayromych5534
@rayromych5534 - 08.08.2023 18:41

Thanks for this great video!
Would be nice if we could pass parameters via variable in the power bi report link

Ответить
@Miguelangeltrombon
@Miguelangeltrombon - 07.08.2023 21:01

Tu video esta increible gracias!!!! ahora perdona mi pregunta, yo necesito hacer una lista desplegable y seleccionar un parametro de alli, podrian ayudarme con alguna documentación o curso o asesoria, gracias.!

Ответить
@dhanyaruth7656
@dhanyaruth7656 - 04.08.2023 09:46

Hey Cubesters, Its Super cool.i have a question here.i want to make it as a filter ,intead of gng and refresh the things then how it work

Ответить
@1spunch
@1spunch - 21.07.2023 17:33

Amazing!!

Ответить
@danielperry1352
@danielperry1352 - 20.07.2023 00:15

Great Video
Is there a way to use your report with parameters, but passing values directly in the URL?

Ответить
@vidyalinevrekar2519
@vidyalinevrekar2519 - 26.06.2023 08:49

cant this be done by using the excel in a join?

Ответить
@zafarpat
@zafarpat - 11.04.2023 01:09

How do you pass parameter value from another web page for this situation when calling proc

Ответить
@hemamaleni
@hemamaleni - 09.03.2023 23:23

I have a fact table with start_year (2020) and end_year(2023) parameters in it to limit the number of years worth of data. On top of this I have incremental refresh of last 13 months. I publish this file to web service and change the start_year parameter say from 2020 to 2019. Why does the parameter changes in web service doesn't take into effect? If I change from 2020 to 2021, it does make necessary changes but for the first time only after publishing the file. Any thought on this? My report should only hold only last 5 years of data with last 13 months of incremental refresh.

Ответить
@miguelcosta9142
@miguelcosta9142 - 08.03.2023 14:17

A little off topic, but how do you have your power query in darkmode?

Ответить
@suma5395
@suma5395 - 22.02.2023 12:42

How can we run stored procedure in Direct Query mode !!??

Ответить
@ahv5457
@ahv5457 - 07.02.2023 06:53

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 manully set up in the API URL. But, how do I make it dynamic so that eveyday 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")

Ответить
@davidignatius1
@davidignatius1 - 04.01.2023 05:44

Damn will smith🎉

Ответить
@llewellynemmanuel9907
@llewellynemmanuel9907 - 08.11.2022 20:34

Great video. Great idea

Ответить
@shamilpm262
@shamilpm262 - 01.11.2022 17:10

Sir ,
Please help me to load data using Sql procedure

let
Source = Sql.Database(".,2014", "demodb", [Query="EXEC SPM_CUSTOMER_LIST "&Locationid & fromDate & Todate])
in
Source

Its Not working how can we pass multiple
Like SSRS
Date selection as parameter ?

Ответить
@andreamendoza9968
@andreamendoza9968 - 31.10.2022 20:13

Hi! So I am using a Windows 11 Enterprise, where can I find a SQL server?

Ответить
@anastasiiaillienko4750
@anastasiiaillienko4750 - 21.10.2022 16:15

Why it is not possible to select parameter directly from pbi page through end-user(customer) interactions with visuals(precalculation is expected to be avoided)? I mean invoking sp call calculation by filter or slicer(not parameter field in menu)

Ответить
@albertjeremy3956
@albertjeremy3956 - 18.10.2022 19:35

Finally.. a clear usage of parameter and function.

Ответить
@romankultajev3660
@romankultajev3660 - 30.09.2022 01:32

Exactly what I needed. Thanks for growing my knowledge with a smile!

Ответить
@fredt3727
@fredt3727 - 05.09.2022 13:27

Legend, this revolves some of the issues with not being able to use dynamic M parameters / slicer input with queries (in import mode)

as you can try to pre-fetch the data using the function and give the user the "slicer" experience too (in a Rest API scenario, where the API is very restrictive in terms of data slice)

Ответить
@ferlandordie
@ferlandordie - 03.08.2022 21:30

I'm a bit confused. In your custom function, is it the StudentID Parameter that is called, or the StudentID query?

Ответить
@vik_gk
@vik_gk - 27.07.2022 20:30

This is Awesome!!! 🤖

Ответить
@GaryMillerUK
@GaryMillerUK - 08.06.2022 17:24

Woah, that was fine until it got to the 'here's one I made earlier' section, with the gateway set up. Gateway problems have been the bane of my life. I wouldn't want to mess with them. I think you should have explained that bit in more detail.

Ответить
@arpitvijay1024
@arpitvijay1024 - 06.06.2022 11:37

Hi Patrick, it was great explaination and solved my doubts too, but is there any way I can pass two parameters in the single function, and my parameters are coming from two different SQL tables.

Thanks

Ответить
@nilanjitroy3546
@nilanjitroy3546 - 16.05.2022 08:59

Hey Patrick, thank you for this lovely tutorial. Can you pls suggest me how to do the same with multiple parameter.
Please reply, stuck in the situation for few days

Ответить
@allendiaz5701
@allendiaz5701 - 28.04.2022 08:11

Is it possible to use plain SQL script instead of Stored Procedure?

Ответить
@maciekomis
@maciekomis - 27.04.2022 17:11

how do i do that when using AnalysisServices.Database, not SQL.Database?

Ответить
@successfullife7689
@successfullife7689 - 08.04.2022 01:27

Unbelievable !!! Thank you very much, this is very much helping

Ответить
@rajsatia
@rajsatia - 22.03.2022 13:41

Awesome!!! Can we think one step ahead? Let's say - I have columns for subjects, student admin. no. , and the email id. I want to send the personalized result to their email id. Any thoughts before I tear all my hair out? No Row level security please.

Ответить
@naturetalks4723
@naturetalks4723 - 21.03.2022 09:57

I enjoy the content, but I get confused when you make a practical joke by using the wrong method, please don't do that. it takes a lot to focus here. Thank you!

Ответить
@nshen1200
@nshen1200 - 08.01.2022 01:16

Like your video very much. How to use your method to have a date range as a parameter to pull the dataset, interact from the web? thx again!

Ответить
@thehomie3526
@thehomie3526 - 24.11.2021 19:49

Nice T-Shirt :) video is great too

Ответить
@gokulnathpl
@gokulnathpl - 16.11.2021 22:57

Hey good job and kudos Patrick,

I do have a below challenge
1. I created a Dashboard which is connected with 10 different csv files which i kept in a folder.
2. On daily basis I need to dowload the csv file and upload in Power BI desktop
3. Daily I'm changeing the source file location, but file name doesn't change, only changing the sub-folder like "/11012021/", "/11022021/", etc.

4. How to make happen easier to take the latest sub-folder and the related csv files?

Ответить
@MadhangiRam
@MadhangiRam - 13.11.2021 23:38

Can you do a in memory Excel or data source? Instead of having to go to the backend and update the Excel, can I do the same from the front end itself?

Ответить
@billyrowe0064
@billyrowe0064 - 11.11.2021 02:05

I've used like 10 of your videos to combine all of this magic into one solution. I've subscribed.
I have an API URL that shows a monthly agreement details for all of my clients. To get more details of what is covered under that agreement, I needed to enter in the agreement # into the API URL.
"finance/agreements/agreementID/whatscovered"

I want it so that the report has two tables, the agreements and when you select the agreement ID, the bottom table shows those details.
Basically, clicking the top table column ID will set a parameter and re-run a query.
I can't figure out how to do that, but this method allowed me to gather those details right now and create a table with them so that they can be referenced later.

Ответить
@hadyshaaban1221
@hadyshaaban1221 - 14.10.2021 06:49

💕🙏🙏🙏

Ответить
@miestudiolm9390
@miestudiolm9390 - 21.09.2021 17:07

Hi!
I have a store with a parameter but i need to call that parameter from other query, for example

exec proc_Test where Date = @date

Then i call that parameter from other querie that contains only dates so when i modify that date from the other query the Store will be refreshed.
that date paramater will be in a filter for example, i tried everything...can you help me?
I have Pro license.-

Ответить
@user-ww2yo7kv6e
@user-ww2yo7kv6e - 02.09.2021 21:25

Hi Patrick, I embedded a PB report via Azure Portal function method. Is it possible I can pass the patameters into report via Embedded URL (token) in that case? Thank you very much!

Ответить
@sindhub4931
@sindhub4931 - 18.08.2021 15:03

thanks so much for the video Patrick ..Is there a way to export the PDFs from Power Bi service automatically or in less time? I need to get PDF report for each student in every class with the filter of each student is selected and they're hundreds .
Thank you.

Ответить
@janetren6213
@janetren6213 - 13.08.2021 07:37

Love it!

Ответить
@grateous7993
@grateous7993 - 02.08.2021 20:57

You are awesome man! I actually understood this first time through, unlike the 1 on 1 tutorial I had at work.

Ответить
@Nico-vm9xp
@Nico-vm9xp - 01.07.2021 10:13

Could have just changed the SQL WHERE clause to use an IN()... then in parameters they just paste with commas between - no need to link to other stuff....
What I really want to know, is how to get it to create a sql query dynamically by changing table names, attributes and business date for the filter in slicers and retrieving the data in a matrix. I saw a guy do this with R... but he didn't retrieve different sets of data

Ответить
@regiruby1874
@regiruby1874 - 30.06.2021 13:27

Hi Patrick , can you show me how to use this in flat files from folder.

Say , I have 3 Excel sheets in a file and I have 3 such files in a folder in my OneDrive.

Each file in the folder is going to be a table in power bi.

I need to pull all these data from folder and do dynamic transition to b a table using parameters.

Iam helpless please make a video on this

Ответить
@furqanakramsheikh8999
@furqanakramsheikh8999 - 28.06.2021 15:25

please help ?

Details: "Microsoft SQL: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - No such host is known.)"

Ответить