Hello,
is there any way to set up a prompt in Powerplay. I would like my users to be prompted for a date when they open my powerplay reports.
Any help would be helpful.
You will have to use a macro. Here is a sample that will help you get started. It opens a report and then gives you a drop down displaying levels to filter on. Then, it asks for a category to filter on. You could maybe hardcode the macro to the date dimension!?
good luck, flex.
Sub Main
Dim PPRep as Object
Dim objPDF as Object
Dim Options as Integer
Dim CatList as Object
Dim DimIndex as Integer
Dim DropListBox1() as String
Dim msgtext as String
Thanks alot, flex. I hate to admit, but I'm new to macros and having trouble implementing it. Any suggestions to get me started. I would just like to run it with a report to see how it works, then I will decide if I want to hardcode it.
Thanks again.
Here is my current code. Everything works right except for the data in the second prompt. I can't get it to read from the dimension that is picked in the first prompt. It chooses the proper dimension to change in the report(I counted how many lines down), but it does not populate the dropdown properly.
Sub Main
Dim objPPRep as Object
Dim objPDF as Object
Dim Options as Integer
Dim CatList as Object
Dim DimIndex as Integer
Dim DropListBox1() as String
Dim DropListBox2() as String
Dim msgtext as String
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.