I am trying to apply the slicer or filter using Button in Power BI. I have one date column in data and want a button which will slice values for only one date on all visuals in one page.
I have created two bookmarks, one with all values and other with only one date. Bookmarks are working fine ,but when I am I using same bookmarks in Button actions are not doing anything.
Is it possible to use slicer bookmarks with Buttons. Thanks.
I found the reason why bookmark was not working under button. In Power BI Button works with ctrl+click. After adding bookmark to action, ctrl+click on button will do the action.
if anyone has any other solution , please post here.
Related
I need a table to pop up or flash on the users screen when a button is clicked
It is a reference table, users can go back and check the codes while filling a form. This is to be done vb.net. Please help me i need the simplest solution possible
in my opinion:
1) If you don't insist on formatting and you would like to only display table data, you can simply write the data into string, which you will display in a MsgBox dialog. You'll probably will have to take care about partial string lenghts in columns (trim, or complete with spaces to a specific length) and then it will look OK. Bellow is an example of such data (only a test dialog) without any trimming/completeng:
2) For a serious table, you'd have to either use datagrdiveiw (or such) in a separate form, or draw your table using GDI, which would be a rather complicated and eccentric method.
I'm still relatively new to javascript but loving vis.js. I've used the 2dchart functions to build some pretty cool stuff. My problem now is that i'm trying to make it a bit more interactive. I'm using a stacked bar graph and I want to be able to click on one of the bars and display some data to the user.
So my question is, is it possible to take the bar you've clicked on and correlate that info to your dataset.
graph2d = new vis.Graph2d(container, dataset, groups, options);
graph2d.on('click', onClick);
function onClick( event ) {
//correlate the clicked item to a dataset ID somehow
If i'm way off here i apologize. Again, i'm newer to this javascript stuff.
Thanks!
I'm the developer of the graph2d module. I'm glad you like it! Unfortunately want you want to do is not really supported at the moment. We do want to support interactivity like that in future releases but at the moment it's very busy and we can't work on new features.
Now there is a way to do this but it's sort of a hack and not user friendly at all but I'll mention it anyway. The click event gives you the x value, so the time. You can also dig into the original click event to see what element you clicked on. You can then check the class name of that item. With the time and the class name (which can be specific to a group) you can search your input data for a match and thus obtain the item that was clicked on. You can then show that in a popup or something similar.
Hope this helps! For more questions you can post an issue on our GitHub page. We try to answer them all as soon as we can.
I have a button on clicking on it it is opening a Popup. The Popup contains below fields like., Textbox, OK and Cancel buttons. I am fine with cancel and Ok buttons. Help me in Giving text to that textbox using Robot Frame work. I am not able to find the Id/Name/Xpath of that particular field.
Assuming that the popup is a proper window and not an alert, you just need to select the window after it pops up. After that, your usual keywords like Input Text will work as expected.
The selenium2library user guide explains how to do this.
Input text is the way to go about this but what the locator is depends on how you are creating this pop-up. Please show us the code you are using to create the pop-up and then we can help you to add a locator to it. Generaly I use jquery locators as they are incredibly powerful so I would recommend looking to that as a way forward.
I have a master report which has several columns, A, B and C.
When a user clicks on any data in B, using the onclick event, a subreport has to open showing some detailed data regarding the selected value.
It's not possible to create that behavior through the report designer. In order to create that kind of behavior you are describing, you will need to learn about Mondrian (in order to create Cubes for your data) and the Dashboard Editor (in order to create a view to replicate your desired behavior using data from the Cubes).
... you can however link to a separate report and show that report.
If you are more technically versed you can achive that within the same report as well, but it is more complex. Parametrize the visibility of your subreport and link to the current report with a changed parameter value for that subreport's visibility. Clicking that link will then re-generate the report with the new parameter set, and you can use a formula function on the subreport to trigger its visibility.
="javascript:window.open('/page.jsp?Parameter1="&URLENCODE([param1])&"&outputType=text/html&paginate=true')"
use this in on click attribute in report designer it may will help you
Just another day i found myself writing code to show data on the UI.
I am again using DataGrid/GridView (ASP.NET),
User Id as link button (clickable) to redirect user to another page.
User having hard time to find where to click(Though the link has underline and hand pointer as usual on hover)
just another common table like structure
Following are the columns for example,
User ID (Link button), User Name, First Name, Last Name, Date Of Birth
Now i would like to make it better form the usability point of view. Can someone suggest a good link, example or suggestions to make it better.
Thanks all,
how about changing the user id column to a button to make it more clear that it's clickable?
you could also add a new button/link column that says "edit" or "view" instead of making the user id the link to the next page.