powerbi

How to save result of R script in Power BI

冷暖自知 提交于 2019-12-30 11:08:22
问题 Is it possible to implement the following scenario in Power BI Desktop? Load data from Excel file to several tables Make calculation with R script from several data sources Store results of calculation to new table in Power BI (.pbix) The idea is to use Power BI Desktop for solving "transportation problem" with linear programming in R. Before solver will be running we need to make data transformations from several data sources. I'm new in Power BI. I see that it is possible to apply R scripts

Latest value in PowerBi from ASA

你离开我真会死。 提交于 2019-12-30 10:35:11
问题 Is it possible to show the latest value that has arrived in PowerBi from Stream Analytics? In the card diagram type for example I imagine having a filter value for a measurementtime field selecting latest value or something? 回答1: Best you can do right now is use Q&A to ask a question like "show value in the last 10 seconds". It's a valid request, could you submit an item through support.powerbi.com? 来源: https://stackoverflow.com/questions/32199941/latest-value-in-powerbi-from-asa

Latest value in PowerBi from ASA

风流意气都作罢 提交于 2019-12-30 10:35:05
问题 Is it possible to show the latest value that has arrived in PowerBi from Stream Analytics? In the card diagram type for example I imagine having a filter value for a measurementtime field selecting latest value or something? 回答1: Best you can do right now is use Q&A to ask a question like "show value in the last 10 seconds". It's a valid request, could you submit an item through support.powerbi.com? 来源: https://stackoverflow.com/questions/32199941/latest-value-in-powerbi-from-asa

DAX conditional sum of two columns with different granularity

戏子无情 提交于 2019-12-29 09:27:46
问题 This is follow up question of the one asked here. However this time two columns have different granularity and are located in different tables. So simple SUMX solution proposed earlier is not applicable. I attach SumDifferntGranularity.pbix file. How to construct a DAX measure which returns sum of either BudgetProduct (if possible) or BudgetBrand. The logic is take Brand if Product is empty. So expected results looks like this: +---------+-------------+---------------+-----------------+ |

Could not connect Custom Visual server in powerBI

妖精的绣舞 提交于 2019-12-25 19:36:12
问题 I am getting this error when trying to run 'pbiviz start' command in Node.js command prompt. Error while running pbiviz command If you have any idea what this error is all about, Please answer Thank You 回答1: Ravi -- I was running into what appeared to be the same issue (Error running "pbiviz start" in new project folder) and got an answer that might help in your case. Your first error line indicated that the folder "node_modules" and it's contents are not present in the project folder. User

Power BI cumulative count with multiple condition

送分小仙女□ 提交于 2019-12-25 18:20:02
问题 Did anyone know how to convert RunningCount into Power bi Dax ? I test on RunningTotal, Rankx but seems not working. The [year] is just a text column not in Datetime format. I still new on this and not sure if my explain is good enough or not. Sorry for any inconvenient cause. I try to create measure/ calculation column in power bi from the formula below. I need the count by Year, break by column like product, customer, rate and category. 回答1: Before I get into my solution, there are a few

Get “Week of 2nd” from Date field in power BI

北城以北 提交于 2019-12-25 11:56:23
问题 I have a date field in my DimDate table. I want to get another column WeekOf that would show the week number based on Monday. For example I have date: Date WeekOf 10/2/2017 Week of 2nd 10/9/2017 Week of 9th 10/16/2017 Week of 16th 回答1: Creating a new column with the following formula should give you what you want. If you every want to change it to be the Week of a different day, change the 2 in the TargetDate variable to which ever day of the week you want. WeekOf = VAR TargetDate = DAY

Power BI getting 2 week back same day value

橙三吉。 提交于 2019-12-25 08:09:08
问题 I need to create a measure in Power BI which will always provide the value of sales amount 2 weeks back for the same weekday. e.g Today = Tuesday 27-Sep-2016 so I need value for Tuesday 13-Sep-2016 The Table is simple with following structure Date | SalesAmount ----------------------------- 01-Sep-2016 | 500 02-Sep-2016 | 450 03-Sep-2016 | 650 回答1: You can use DATEADD() function to compute the 14 days before each date. Create a measure using the below code. SalesTwoWeeksAgo = CALCULATE ( SUM

Count Failures in PowerBI

佐手、 提交于 2019-12-25 04:28:48
问题 I am developing a dashboard in Power Bi and I am trying to come up with a way by which I can indicate or count the number of "fail"s in the following column: **Status** Column2 Column3 Column4 success data numbers email success data facts email fail data figures email success moredata science email success somuchdata magic email success stuff etc email success things etc email The first problem is that in some cases, all of the values in the column will be "success". So I can't just do a

Row based time difference based on condition for Analytics

允我心安 提交于 2019-12-25 04:07:16
问题 I have the following data in a table called TABLE : EDIT : Added another couple rows with Characterid: 26052013030101 , which was missed. /------------------------------------------------------------------------\ | CharacterID | EVENTTYPE | TRIGGERTIME | |----------------------+-------------------+-----------------------------| | 11052016190101 | START | 2017-06-01 13:35:38.000 | | 11052016190101 | END | 2017-01-06 08:05:18.620 | | 01012016170101 | START | 2017-06-01 13:33:18.000 | |