powerbi

How can I create a new table of data in Power BI from a different query that updates daily?

一笑奈何 提交于 2020-07-28 04:56:49
问题 I have a SQL execute function generating a simple table on Power BI. This table updates when there is a refresh with the latest data, which is good. I was wondering if there was a way to create a new table in power BI that is the historical data from the SQL query? The idea would be the original query updates at a set time everyday, and then that data gets copied and appended to a second table with a timestamp so over time I will have historical data of the original executed SQL function. Is

How can I create a new table of data in Power BI from a different query that updates daily?

随声附和 提交于 2020-07-28 04:56:32
问题 I have a SQL execute function generating a simple table on Power BI. This table updates when there is a refresh with the latest data, which is good. I was wondering if there was a way to create a new table in power BI that is the historical data from the SQL query? The idea would be the original query updates at a set time everyday, and then that data gets copied and appended to a second table with a timestamp so over time I will have historical data of the original executed SQL function. Is

Load Clockify data to Power BI

梦想与她 提交于 2020-07-23 11:03:43
问题 I'm having a Power BI report which is based on data from Clockify. So far I had to download the detailed report from clockify in order to be able to see up to date data in Power BI. I would like to get rid of this manual step and directly connect to the data stored in Clockify using the API. I'm currently loading with following M code: let Query1 = let Source = Json.Document(Web.Contents("https://api.clockify.me/api/workspaces/", [Headers=[#"x-api-key"="xxxxxxxxxxx"]])), messages = Source

Load Clockify data to Power BI

扶醉桌前 提交于 2020-07-23 11:03:28
问题 I'm having a Power BI report which is based on data from Clockify. So far I had to download the detailed report from clockify in order to be able to see up to date data in Power BI. I would like to get rid of this manual step and directly connect to the data stored in Clockify using the API. I'm currently loading with following M code: let Query1 = let Source = Json.Document(Web.Contents("https://api.clockify.me/api/workspaces/", [Headers=[#"x-api-key"="xxxxxxxxxxx"]])), messages = Source

Load Clockify data to Power BI

好久不见. 提交于 2020-07-23 11:00:50
问题 I'm having a Power BI report which is based on data from Clockify. So far I had to download the detailed report from clockify in order to be able to see up to date data in Power BI. I would like to get rid of this manual step and directly connect to the data stored in Clockify using the API. I'm currently loading with following M code: let Query1 = let Source = Json.Document(Web.Contents("https://api.clockify.me/api/workspaces/", [Headers=[#"x-api-key"="xxxxxxxxxxx"]])), messages = Source

Creating a “since last refresh” KPI?

徘徊边缘 提交于 2020-07-10 06:35:08
问题 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

Creating a “since last refresh” KPI?

不羁岁月 提交于 2020-07-10 06:34:34
问题 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

load data into power BI from relative path

自作多情 提交于 2020-07-06 08:58:31
问题 I am trying to find a solution to load an external data file but from a relative path, so when someone else open my PBIX it will still work on his/her computer. many thanks. 回答1: Relative paths are * not * currently supported by Power BI. To ease the pain , you can create a variable that contains the path where the files are located, and use that variable to determine the path of each table. That way, you only have to change a single place (that variable) and all the tables will automatically

Sum where version is highest by another variable (no max version in the whole data)

扶醉桌前 提交于 2020-07-03 09:08:27
问题 I'm struggling having this measure to work. I would like to have a measure that will sum the Value only for the max version of each house. So following this example table: |---------------------|------------------|------------------| | House_Id | Version_Id | Value | |---------------------|------------------|------------------| | 1 | 1 | 1000 | |---------------------|------------------|------------------| | 1 | 2 | 2000 | |---------------------|------------------|------------------| | 2 | 1 |

How to merge queries in power bi with 2 primary keys

你说的曾经没有我的故事 提交于 2020-06-28 05:07:42
问题 How do we merge two queries in power bi when the primary key is a combination of 2 columns. for example i have 2 tables Table A : year cost center col a col b col c Table B: year cost center col x col y col z The primary key in both the columns is a combination of the 1st two columns. How do i merge these two queries? 回答1: When you merge the queries using the GUI, you can hold down Ctrl to select multiple columns from each table. (Make sure you select them in the same order on both tables.)