Hi Tableau Users and Experts,
I am hoping to get some clarity about how clipboard works. I am building a dashboard where data comes from multiple excel sheets. I have a worksheet (say A) where i bring in data needed from these excel sheets (like a vlookup but with more calculations). My next steps involve building a pivot from worksheet A. I was able to copy data from worksheet A to clipboard and use that as data source and build the pivot i needed. This was much quicker and avoided potential complex logic to count these records. My question here now is that i am trying to have the clipboard data refresh everytime worksheet A is refreshed with new data.
Is there a way to have the clipboard data refresh or link to the worksheet it is copied from?
Any help will be much appreciated.
Regards,
Shikhar
There is no way for Tableau to automatically refresh the clipboard. Architecturally, the clipboard is a function of the operating system. The clipboard function is invoked in Tableau once you have clicked on certain elements or the whole worksheet, then hitting the appropriate shortcut key or menu item. Tableau does not expose an API to invoke the functionality.
If your end goal is to allow the end user to export data though, there are plenty of different ways to accomplish that task automatically.
Related
I am trying to find an answer if it possible to automate creating powerBI reports for each unique value in one of columns(It's like filtering on whole report for one of the values and publish report than change value to next one and repeat steps for other values)? Is there any fast way to do it? I wrote program to filtering via link and clicking mouse than save links for each person to excel but i wonder if there is more reliable and faster way to do it. I am using PowerBI premium for user.
This is typically called "Report Bursting", or "Data Driven Subscriptions", and here's a walkthrough of how to do it with Power Automate and Power BI.
Why don't you leverage RLS instead of hardcoding filters?
I have a PowerBI that pulls from an excel spreadsheet a current inventory of statuses of a system, lets make it easy and say I have a single measure that reads "40% complete".
If I refresh the PowerBI dataset and it now says "60%", is there any way to have a KPI automatically show +20%? Every example I've found requires you to have another dataset that keeps the historical data, and that's not really an option in this situation. Is there any way to calculate it or store it within the PowerBI query itself?
Power BI is not designed to store historical data. This is what a database is for.
In order to calculate that 20% difference, you need to store historical data somewhere but Power BI's purpose is to connect to sources and load data and then visualize it, not to act as a data repository.
I want to read data of report on the server,there are api calls to get list of reports(GET api.powerbi.com/v1.0/myorg/reports{reportKey}),In the same way can get data of a report in json format using restapi?
I think in a word "No". At least not from what I am reading from the API Endpoints documentation here: https://learn.microsoft.com/en-us/rest/api/power-bi/
In the end -- I think what you really want is the data behind the report, not the visualizations - Right? Power Query is an Excel based tool (from Microsoft) that retrieves data much in the same way Power BI does. I think that may be what you want.
If you really need a JSON representation of the data from there, you can do a little "VBA" work to reformat the data you pulled in via Power Query.
Hope this helps
We have a number of different business units each managing their own separate (but consistent) data sets in separate Excel spreadsheets. I've created a multi page pbix file that has queries looking at one of those spreadsheets and the users are happy with how it all looks.
What I'd like to be able to do, now the design is accepted, is to duplicate the existing pages and change the data source (on just the duplicate pages not all of them) to the other spreadsheets without having to rebuild all the graphs and apply all the formatting etc again from scratch.
Is this possible? and if not what would be the best approach, save as new pbix, change queries, then merge everything as a dashboard?
I'm relatively new to Power BI so still wrapping my head around how best to structure things.
thanks in advance!
After a bit of experimentation the simplest route I found was:
Added an extra column in the source data for Business Unit
Create queries for each Excel file
Create an append query pulling all the queries together
Built out the charts etc using the append query
Duplicated the page so there was one for each business unit
Then went back through each page and used a Page Level Filter using the Business Unit column to filter back to the required business unit
It definitely pays off to plan your structure in advance (if you can) as it saves a lot of rework!
Can cfspreadsheet (or anything else using cold fusion) be used to update just a few cells in an existing xlsx spreadsheet?
I have updated entire sheets in the past - using an object - but the sheet in question is so massive and messy - I only want to be able to edit a few of the cells - without have to read and validate ALL the columns.
basically the ability to use SpreadsheetSetCellValue directly on the spreadsheet as opposed to working only on the spreadsheet object that must be read in and updated/written back as an entire sheet.